|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WTValuedMap
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 |
wt.fc.collections.WTValuedMap.WTValuedEntry
Allows access to the value in this entry as either a Persistable, WTReference, or QueryKey. |
| 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> |
| 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, connectAll, containsKey, containsKey, containsKey, containsKey, containsValue, entrySet, equals, get, get, get, get, getKeyMask, hashCode, isEmpty, isEnabled, keySet, put, put, put, put, putAll, remove, remove, remove, remove, size, values, wtKeySet |
| Method Detail |
|---|
int getValueMask()
WTCollection wtValues()
Persistable getPersistable(Persistable key)
throws WTException
key -
WTException
Persistable getPersistable(QueryKey key)
throws WTException
key -
WTException
Persistable getPersistable(WTReference key)
throws WTException
key -
WTExceptionQueryKey getQueryKey(Persistable key)
key -
QueryKey getQueryKey(QueryKey key)
key -
QueryKey getQueryKey(WTReference key)
key -
WTReference getReference(Persistable key)
key -
WTReference getReference(QueryKey key)
key -
WTReference getReference(WTReference key)
key -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||