Klasse HashtableOfInteger

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.util.HashtableOfInteger

public final class HashtableOfInteger extends Object
Hashtable for Integer keys.
  • Felddetails

    • keyTable

      public Integer[] keyTable
    • valueTable

      public Object[] valueTable
    • elementSize

      public int elementSize
  • Konstruktordetails

    • HashtableOfInteger

      public HashtableOfInteger()
    • HashtableOfInteger

      public HashtableOfInteger(int size)
  • Methodendetails

    • clear

      public void clear()
    • clone

      public Object clone() throws CloneNotSupportedException
      Setzt außer Kraft:
      clone in Klasse Object
      Löst aus:
      CloneNotSupportedException
    • containsKey

      public boolean containsKey(int key)
    • get

      public Object get(int key)
    • put

      public Object put(int key, Object value)
    • putUnsafely

      public void putUnsafely(int key, Object value)
      Put a value at the index of the given using the local hash code computation.

      Note that this is an unsafe put as there's no prior verification whether the given key already exists in the table or not.

      Parameter:
      key - The key of the table entry
      value - The value of the table entry
    • removeKey

      public Object removeKey(int key)
    • size

      public int size()
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object