Class EmptyCollections

java.lang.Object
com.compomics.util.gui.utils.EmptyCollections

public class EmptyCollections extends Object
This class contains empty collections that can be used for empty results without creating new objects.
Author:
Marc Vaudel
  • Field Details

    • emptyStringSet

      public static final HashSet<String> emptyStringSet
      Convenience result of an empty set.
    • emptyStringTreeSet

      public static final TreeSet<String> emptyStringTreeSet
      Convenience result of an empty set.
    • emptyIntSet

      public static final HashSet<Integer> emptyIntSet
      Convenience result of an empty set.
    • emptyIntTreeSet

      public static final TreeSet<Integer> emptyIntTreeSet
      Convenience result of an empty set.
  • Constructor Details

    • EmptyCollections

      public EmptyCollections()
      Empty default constructor