|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A WTKeyedMap in which the values are a WTCollection. This means that
values() returns a WTCollection and that the value in put(key,value)
calls follows the same type constraints as the key.
Supported API: true
Extendable: false
Nested Class Summary | |
static interface |
WTValuedMap.WTValuedEntry
Allows access to the value in this entry as either a Persistable, WTReference, or QueryKey. |
Nested classes inherited from class wt.fc.collections.WTKeyedMap |
WTKeyedMap.WTEntry |
Nested classes inherited from class java.util.Map |
Map.Entry |
Field Summary |
Fields inherited from interface wt.fc.collections.WTKeyedMap |
DEFLATED_ON_SERIALIZATION |
Method Summary | |
Persistable |
getPersistable(Persistable key)
Get the value that maps to the given key as a Persistable. |
Persistable |
getPersistable(QueryKey key)
Get the value that maps to the given key as a Persistable. |
Persistable |
getPersistable(WTReference key)
Get the value that maps to the given key as a Persistable. |
QueryKey |
getQueryKey(Persistable key)
Get the value that maps to the given key as a QueryKey. |
QueryKey |
getQueryKey(QueryKey key)
Get the value that maps to the given key as a QueryKey. |
QueryKey |
getQueryKey(WTReference key)
Get the value that maps to the given key as a QueryKey. |
WTReference |
getReference(Persistable key)
Get the value that maps to the given key as a WTReference. |
WTReference |
getReference(QueryKey key)
Get the value that maps to the given key as a WTReference. |
WTReference |
getReference(WTReference key)
Get the value that maps to the given key as a WTReference. |
int |
getValueMask()
Get the key mask for the WTCollection of values in this map. |
WTCollection |
wtValues()
Convenience method that returns the values in this map as a WTCollection. |
Methods inherited from interface wt.fc.collections.WTKeyedMap |
clear, connect, connect, connect, connect, connect, connect, connect, connect, connect, connectAll, connectAll, containsKey, containsKey, containsKey, containsKey, containsValue, entrySet, equals, get, get, get, get, getKeyMask, hashCode, isDeflatedOnSerialization, isEmpty, isEnabled, keySet, put, put, put, put, putAll, remove, remove, remove, remove, setDeflatedOnSerialization, size, values, wtKeySet |
Method Detail |
public int getValueMask()
public WTCollection wtValues()
public Persistable getPersistable(Persistable key) throws WTException
key
-
WTException
public Persistable getPersistable(QueryKey key) throws WTException
key
-
WTException
public Persistable getPersistable(WTReference key) throws WTException
key
-
WTException
public QueryKey getQueryKey(Persistable key)
key
-
public QueryKey getQueryKey(QueryKey key)
key
-
public QueryKey getQueryKey(WTReference key)
key
-
public WTReference getReference(Persistable key)
key
-
public WTReference getReference(QueryKey key)
key
-
public WTReference getReference(WTReference key)
key
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |