|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.apache.xerces.util.SymbolHash
This class is an unsynchronized hash table primary used for String to Object mapping.
The hash code uses the same algorithm as SymbolTable class.
Nested Class Summary | |
protected static class |
SymbolHash.Entry
Deprecated. This class is a key table entry. |
Field Summary | |
protected SymbolHash.Entry[] |
fBuckets
Deprecated. Buckets. |
protected int |
fNum
Deprecated. Number of elements. |
protected int |
fTableSize
Deprecated. Default table size. |
Constructor Summary | |
SymbolHash()
Deprecated. Constructs a key table with the default size. |
|
SymbolHash(int size)
Deprecated. Constructs a key table with a given size. |
Method Summary | |
void |
clear()
Deprecated. Remove all key/value assocaition. |
Object |
get(Object key)
Deprecated. Get the value associated with the given key. |
int |
getLength()
Deprecated. Get the number of key/value pairs stored in this table. |
int |
getValues(Object[] elements,
int from)
Deprecated. Add all values to the given array. |
SymbolHash |
makeClone()
Deprecated. Make a clone of this object. |
void |
put(Object key,
Object value)
Deprecated. Adds the key/value mapping to the key table. |
protected SymbolHash.Entry |
search(Object key,
int bucket)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected SymbolHash.Entry[] fBuckets
protected int fNum
protected int fTableSize
Constructor Detail |
public SymbolHash()
public SymbolHash(int size)
Method Detail |
public void clear()
public Object get(Object key)
key
-
public int getLength()
public int getValues(Object[] elements, int from)
elements
- the array to store the elementsfrom
- where to start store element in the array
public SymbolHash makeClone()
public void put(Object key, Object value)
key
- value
- protected SymbolHash.Entry search(Object key, int bucket)
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs91 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |