Class SortedIntSet


  • final class SortedIntSet
    extends java.lang.Object
    • Field Detail

      • values

        int[] values
      • counts

        int[] counts
      • upto

        int upto
      • hashCode

        private int hashCode
      • map

        private final java.util.Map<java.lang.Integer,​java.lang.Integer> map
      • useTreeMap

        private boolean useTreeMap
      • state

        int state
    • Constructor Detail

      • SortedIntSet

        public SortedIntSet​(int capacity)
    • Method Detail

      • incr

        public void incr​(int num)
      • decr

        public void decr​(int num)
      • computeHash

        public void computeHash()
      • hashCode

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

        public boolean equals​(java.lang.Object _other)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object