Class TSynchronizedShortIntMap

    • Constructor Detail

      • TSynchronizedShortIntMap

        public TSynchronizedShortIntMap(TShortIntMap m)
      • TSynchronizedShortIntMap

        public TSynchronizedShortIntMap(TShortIntMap m,
                                        Object mutex)
    • Method Detail

      • size

        public int size()
      • isEmpty

        public boolean isEmpty()
      • containsKey

        public boolean containsKey(short key)
      • containsValue

        public boolean containsValue(int value)
      • get

        public int get(short key)
      • put

        public int put(short key,
                       int value)
      • remove

        public int remove(short key)
      • clear

        public void clear()
      • keys

        public short[] keys()
      • keys

        public short[] keys(short[] array)
      • values

        public int[] values()
      • values

        public int[] values(int[] array)
      • getNoEntryKey

        public short getNoEntryKey()
      • getNoEntryValue

        public int getNoEntryValue()
      • putIfAbsent

        public int putIfAbsent(short key,
                               int value)
      • forEachValue

        public boolean forEachValue(TIntProcedure procedure)
      • transformValues

        public void transformValues(TIntFunction function)
      • increment

        public boolean increment(short key)
      • adjustValue

        public boolean adjustValue(short key,
                                   int amount)
      • adjustOrPutValue

        public int adjustOrPutValue(short key,
                                    int adjust_amount,
                                    int put_amount)
      • equals

        public boolean equals(Object o)
      • hashCode

        public int hashCode()
      • toString

        public String toString()