Class TSynchronizedIntShortMap

    • Constructor Detail

      • TSynchronizedIntShortMap

        public TSynchronizedIntShortMap(TIntShortMap m)
      • TSynchronizedIntShortMap

        public TSynchronizedIntShortMap(TIntShortMap m,
                                        Object mutex)
    • Method Detail

      • size

        public int size()
      • isEmpty

        public boolean isEmpty()
      • containsKey

        public boolean containsKey(int key)
      • containsValue

        public boolean containsValue(short value)
      • get

        public short get(int key)
      • put

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

        public short remove(int key)
      • clear

        public void clear()
      • keys

        public int[] keys()
      • keys

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

        public short[] values()
      • values

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

        public int getNoEntryKey()
      • getNoEntryValue

        public short getNoEntryValue()
      • putIfAbsent

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

        public boolean forEachKey(TIntProcedure procedure)
      • transformValues

        public void transformValues(TShortFunction function)
      • increment

        public boolean increment(int key)
      • adjustValue

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

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

        public boolean equals(Object o)
      • hashCode

        public int hashCode()
      • toString

        public String toString()