Class HashMapIdId

    • Constructor Detail

      • HashMapIdId

        public HashMapIdId()
      • HashMapIdId

        public HashMapIdId​(int slotSize)
    • Method Detail

      • size

        public final long size()
        Specified by:
        size in interface Sized
      • isEmpty

        public final boolean isEmpty()
        Specified by:
        isEmpty in interface Sized
      • add

        public boolean add​(long key,
                           long value)
      • put

        public boolean put​(long key,
                           long value)
      • putGet

        public long putGet​(long key,
                           long value)
      • addGet

        public long addGet​(long key,
                           long value)
      • get

        public long get​(long key)
      • iterateObjects

        public int iterateObjects​(_longProcedure procedure)
      • optimize

        public long optimize()
        Optimizes the internal storage and returns the remaining amount of entries.
        Specified by:
        optimize in interface OptimizableCollection
        Returns:
        the amount of entries after the optimization is been completed.
      • iterateIds

        public int iterateIds​(Consumer<? super Long> procedure)
      • clear

        public void clear()