|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractMap
wt.fc.collections.WTKeyedHashMap
public class WTKeyedHashMap
Follows the patterns established by the default collection implementations. The implementation of ResultProcessor.addElement(Object) uses the following algorithm:
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface wt.fc.collections.WTKeyedMap |
|---|
wt.fc.collections.WTKeyedMap.WTEntry |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
WTKeyedHashMap()
Supported API: true |
|
WTKeyedHashMap(int initial_capacity)
Supported API: true |
|
WTKeyedHashMap(int initial_capacity,
int key_mask)
Supported API: true |
|
WTKeyedHashMap(Map m)
Supported API: true |
|
WTKeyedHashMap(Map m,
int key_mask)
Supported API: true |
|
| Method Summary | |
|---|---|
void |
addElement(Object anObj)
This method is called by the low level persistence layer to add the specified object to the result. |
Object |
clone()
Supported API: true |
WTKeyedHashMap |
clone(boolean deep)
Supported API: true |
boolean |
equals(Object o)
Supported API: true |
Object |
get(Persistable p)
Supported API: true |
boolean |
isEmpty()
Supported API: true |
| Methods inherited from class java.util.AbstractMap |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WTKeyedHashMap()
public WTKeyedHashMap(int initial_capacity)
initial_capacity -
public WTKeyedHashMap(int initial_capacity,
int key_mask)
initial_capacity - key_mask - public WTKeyedHashMap(Map m)
m -
public WTKeyedHashMap(Map m,
int key_mask)
m - key_mask - | Method Detail |
|---|
public Object clone()
clone in class AbstractMappublic WTKeyedHashMap clone(boolean deep)
deep -
public boolean equals(Object o)
equals in interface Mapequals in interface WTKeyedMapequals in class AbstractMapo -
public Object get(Persistable p)
get in interface WTKeyedMapp -
public boolean isEmpty()
isEmpty in interface MapisEmpty in interface WTKeyedMapisEmpty in class AbstractMap
public void addElement(Object anObj)
throws WTException
addElement in interface ResultProcessoranObj - Result object to add.
WTException - - if the object can't be added to the result
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||