org.eclipse.jdt.internal.compiler.util
类 HashtableOfObject

java.lang.Object
  继承者 org.eclipse.jdt.internal.compiler.util.HashtableOfObject
所有已实现的接口:
Cloneable

public final class HashtableOfObject
extends Object
implements Cloneable

Hashtable of {char[] --> Object }


字段摘要
 int elementSize
           
 char[][] keyTable
           
 Object[] valueTable
           
 
构造方法摘要
HashtableOfObject()
           
HashtableOfObject(int size)
           
 
方法摘要
 void clear()
           
 Object clone()
           
 boolean containsKey(char[] key)
           
 Object get(char[] key)
           
 Object put(char[] key, Object value)
           
 void putUnsafely(char[] key, Object value)
          Put a value at the index of the given using the local hash code computation.
 Object removeKey(char[] key)
           
 int size()
           
 String toString()
           
 
从类 java.lang.Object 继承的方法
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

keyTable

public char[][] keyTable

valueTable

public Object[] valueTable

elementSize

public int elementSize
构造方法详细信息

HashtableOfObject

public HashtableOfObject()

HashtableOfObject

public HashtableOfObject(int size)
方法详细信息

clear

public void clear()

clone

public Object clone()
             throws CloneNotSupportedException
覆盖:
Object 中的 clone
抛出:
CloneNotSupportedException

containsKey

public boolean containsKey(char[] key)

get

public Object get(char[] key)

put

public Object put(char[] key,
                  Object value)

putUnsafely

public void putUnsafely(char[] 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.

参数:
key - The key of the table entry
value - The value of the table entry

removeKey

public Object removeKey(char[] key)

size

public int size()

toString

public String toString()
覆盖:
Object 中的 toString


Copyright © 2013. All Rights Reserved.