Class ObjectMap<K,V>

java.lang.Object
zombie.entity.util.ObjectMap<K,V>
All Implemented Interfaces:
Iterable<ObjectMap.Entry<K,V>>

public class ObjectMap<K,V> extends Object implements Iterable<ObjectMap.Entry<K,V>>
  • Field Details

    • size

      public int size
    • shift

      protected int shift
    • mask

      protected int mask
  • Constructor Details

    • ObjectMap

      public ObjectMap()
    • ObjectMap

      public ObjectMap(int int0)
    • ObjectMap

      public ObjectMap(int int1, float float0)
    • ObjectMap

      public ObjectMap(ObjectMap<? extends K,? extends V> objectMap1)
  • Method Details

    • place

      protected int place(K object)
    • put

      @Null public V put(K object0, @Null V object2)
    • putAll

      public void putAll(ObjectMap<? extends K,? extends V> objectMap1)
    • get

      @Null public <T extends K> V get(T object)
    • get

      public V get(K object0, @Null V object1)
    • remove

      @Null public V remove(K object0)
    • notEmpty

      public boolean notEmpty()
    • isEmpty

      public boolean isEmpty()
    • shrink

      public void shrink(int int0)
    • clear

      public void clear(int int1)
    • clear

      public void clear()
    • containsValue

      public boolean containsValue(@Null Object object1, boolean boolean0)
    • containsKey

      public boolean containsKey(K object)
    • findKey

      @Null public K findKey(@Null Object object1, boolean boolean0)
    • ensureCapacity

      public void ensureCapacity(int int1)
    • hashCode

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

      public boolean equals(Object object0)
      Overrides:
      equals in class Object
    • equalsIdentity

      public boolean equalsIdentity(@Null Object object0)
    • toString

      public String toString(String string)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toString

      protected String toString(String string, boolean boolean0)
    • iterator

      public ObjectMap.Entries<K,V> iterator()
      Specified by:
      iterator in interface Iterable<K>
    • entries

      public ObjectMap.Entries<K,V> entries()
    • values

      public ObjectMap.Values<V> values()
    • keys

      public ObjectMap.Keys<K> keys()