Class SortedIntSet

java.lang.Object
org.apache.lucene.util.automaton.SortedIntSet

final class SortedIntSet extends Object
  • Field Details

    • values

      int[] values
    • counts

      int[] counts
    • upto

      int upto
    • hashCode

      private int hashCode
    • TREE_MAP_CUTOVER

      private static final int TREE_MAP_CUTOVER
      See Also:
    • map

      private final Map<Integer,Integer> map
    • useTreeMap

      private boolean useTreeMap
    • state

      int state
  • Constructor Details

    • SortedIntSet

      public SortedIntSet(int capacity)
  • Method Details

    • incr

      public void incr(int num)
    • decr

      public void decr(int num)
    • computeHash

      public void computeHash()
    • freeze

      public SortedIntSet.FrozenIntSet freeze(int state)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object _other)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object