|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap
wt.fc.collections.SynchronizedCollections.SynchronizedKeyedMap
wt.fc.collections.SynchronizedCollections.SynchronizedValuedMap
Nested Class Summary |
Nested classes inherited from class java.util.AbstractMap |
|
Nested classes inherited from class wt.fc.collections.WTValuedMap |
WTValuedMap.WTValuedEntry |
Nested classes inherited from class wt.fc.collections.WTKeyedMap |
WTKeyedMap.WTEntry |
Nested classes inherited from class java.util.Map |
Map.Entry |
Field Summary | |
(package private) Object |
lock
|
(package private) WTKeyedMap |
m
|
(package private) Set |
synchronizedEntrySet
|
(package private) WTSet |
synchronizedKeySet
|
(package private) Collection |
synchronizedValues
|
(package private) WTValuedMap |
wtvm
|
Fields inherited from class java.util.AbstractMap |
|
Fields inherited from interface wt.fc.collections.WTKeyedMap |
DEFLATED_ON_SERIALIZATION |
Constructor Summary | |
(package private) |
SynchronizedCollections.SynchronizedValuedMap(WTValuedMap wtvm)
|
(package private) |
SynchronizedCollections.SynchronizedValuedMap(WTValuedMap wtvm,
Object lock)
|
Method Summary | |
void |
clear()
Supported API: true |
Object |
connect(Persistable persistable,
Object value,
WTKeyedMap source)
Adds the mapping for the given key to this map from the source map. |
Object |
connect(Persistable persistable,
WTKeyedMap source)
Adds the mapping for the given key to this map from the source map. |
Object |
connect(Persistable persistable,
WTKeyedMap source,
boolean put_if_not_present)
Adds the mapping for the given key to this map from the source map. |
Object |
connect(QueryKey queryKey,
Object value,
WTKeyedMap source)
Connects the given key with the key in source. |
Object |
connect(QueryKey queryKey,
WTKeyedMap source)
Adds the mapping for the given key to this map from the source map. |
Object |
connect(QueryKey queryKey,
WTKeyedMap source,
boolean put_if_not_present)
Connects the given key with the key in source. |
Object |
connect(WTReference wTReference,
Object value,
WTKeyedMap source)
Connects the given key with the key in source. |
Object |
connect(WTReference wTReference,
WTKeyedMap source)
Adds the mapping for the given key to this map from the source map. |
Object |
connect(WTReference wTReference,
WTKeyedMap source,
boolean put_if_not_present)
Adds the mapping for the given key to this map from the source map. |
void |
connectAll(WTKeyedMap source)
Adds the mappings from the source map to this map. |
void |
connectAll(WTKeyedMap source,
boolean put_if_not_present)
Adds the mappings from the source map to this map. |
boolean |
containsKey(Object key)
Supported API: true |
boolean |
containsKey(Persistable persistable)
Supported API: true |
boolean |
containsKey(QueryKey queryKey)
Supported API: true |
boolean |
containsKey(WTReference wTReference)
Supported API: true |
boolean |
containsValue(Object value)
Supported API: true |
Set |
entrySet()
Supported API: true |
boolean |
equals(Object o)
Supported API: true |
Object |
get(Object key)
Supported API: true |
Object |
get(Persistable persistable)
Supported API: true |
Object |
get(QueryKey queryKey)
Supported API: true |
Object |
get(WTReference wTReference)
Supported API: true |
int |
getKeyMask()
Supported API: true |
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. |
int |
hashCode()
Supported API: true |
boolean |
isDeflatedOnSerialization()
Gets the value of the attribute: DEFLATED_ON_SERIALIZATION. |
boolean |
isEmpty()
Supported API: true |
boolean |
isEnabled(int param)
Supported API: true |
Set |
keySet()
Supported API: true |
Object |
put(Object key,
Object value)
Supported API: true |
Object |
put(Persistable persistable,
Object obj)
Supported API: true |
Object |
put(QueryKey queryKey,
Object obj)
Supported API: true |
Object |
put(WTReference wTReference,
Object obj)
Supported API: true |
void |
putAll(Map t)
Supported API: true |
Object |
remove(Object key)
Supported API: true |
Object |
remove(Persistable persistable)
Supported API: true |
Object |
remove(QueryKey queryKey)
Supported API: true |
Object |
remove(WTReference wTReference)
Supported API: true |
void |
setDeflatedOnSerialization(boolean param)
Sets the value of the attribute: DEFLATED_ON_SERIALIZATION. |
int |
size()
Supported API: true |
String |
toString()
|
Collection |
values()
Supported API: true |
WTSet |
wtKeySet()
Supported API: true |
WTCollection |
wtValues()
Convenience method that returns the values in this map as a WTCollection. |
Methods inherited from class java.util.AbstractMap |
clone |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
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, wtKeySet |
Field Detail |
WTValuedMap wtvm
WTKeyedMap m
Object lock
transient WTSet synchronizedKeySet
transient Set synchronizedEntrySet
transient Collection synchronizedValues
Constructor Detail |
SynchronizedCollections.SynchronizedValuedMap(WTValuedMap wtvm)
SynchronizedCollections.SynchronizedValuedMap(WTValuedMap wtvm, Object lock)
Method Detail |
public Persistable getPersistable(Persistable key) throws WTException
WTValuedMap
getPersistable
in interface WTValuedMap
key
-
WTException
public Persistable getPersistable(QueryKey key) throws WTException
WTValuedMap
getPersistable
in interface WTValuedMap
key
-
WTException
public Persistable getPersistable(WTReference key) throws WTException
WTValuedMap
getPersistable
in interface WTValuedMap
key
-
WTException
public QueryKey getQueryKey(Persistable key)
WTValuedMap
getQueryKey
in interface WTValuedMap
key
-
public QueryKey getQueryKey(QueryKey key)
WTValuedMap
getQueryKey
in interface WTValuedMap
key
-
public QueryKey getQueryKey(WTReference key)
WTValuedMap
getQueryKey
in interface WTValuedMap
key
-
public WTReference getReference(Persistable key)
WTValuedMap
getReference
in interface WTValuedMap
key
-
public WTReference getReference(QueryKey key)
WTValuedMap
getReference
in interface WTValuedMap
key
-
public WTReference getReference(WTReference key)
WTValuedMap
getReference
in interface WTValuedMap
key
-
public int getValueMask()
WTValuedMap
getValueMask
in interface WTValuedMap
public Collection values()
WTKeyedMap
values
in interface WTKeyedMap
values
in class SynchronizedCollections.SynchronizedKeyedMap
public WTCollection wtValues()
WTValuedMap
wtValues
in interface WTValuedMap
public void clear()
WTKeyedMap
clear
in interface WTKeyedMap
public Object connect(Persistable persistable, WTKeyedMap source)
WTKeyedMap
connect
in interface WTKeyedMap
persistable
- source
-
WTKeyedMap.connect(Persistable,WTKeyedMap,boolean)
public Object connect(QueryKey queryKey, WTKeyedMap source)
WTKeyedMap
connect
in interface WTKeyedMap
queryKey
- source
-
WTKeyedMap.connect(Persistable,WTKeyedMap,boolean)
public Object connect(WTReference wTReference, WTKeyedMap source)
WTKeyedMap
connect
in interface WTKeyedMap
wTReference
- source
-
WTKeyedMap.connect(WTReference,WTKeyedMap,boolean)
public Object connect(Persistable persistable, WTKeyedMap source, boolean put_if_not_present)
WTKeyedMap
put_if_not_present
is true
, then if the
key does not exist in source, it is mapped to null. Otherwise, when
the key is inflated or refreshed in the source, it is also inflated
or refreshed in this map, and vice versa.
connect
in interface WTKeyedMap
persistable
- source
- put_if_not_present
-
public Object connect(QueryKey queryKey, WTKeyedMap source, boolean put_if_not_present)
WTKeyedMap
put_if_not_present
is true
, then if the key does not exist in source, it
is mapped to null. Otherwise, when the key is inflated or refreshed
in the source, it is also inflated or refreshed in this map, and vice
versa.
connect
in interface WTKeyedMap
queryKey
- source
- put_if_not_present
-
public Object connect(WTReference wTReference, WTKeyedMap source, boolean put_if_not_present)
WTKeyedMap
put_if_not_present
is true
, then if the
key does not exist in source, it is mapped to null. Otherwise, when
the key is inflated or refreshed in the source, it is also inflated
or refreshed in this map, and vice versa.
connect
in interface WTKeyedMap
wTReference
- source
- put_if_not_present
-
public Object connect(Persistable persistable, Object value, WTKeyedMap source)
WTKeyedMap
connect
in interface WTKeyedMap
persistable
- value
- source
-
public Object connect(QueryKey queryKey, Object value, WTKeyedMap source)
WTKeyedMap
connect
in interface WTKeyedMap
queryKey
- value
- source
-
public Object connect(WTReference wTReference, Object value, WTKeyedMap source)
WTKeyedMap
connect
in interface WTKeyedMap
wTReference
- value
- source
-
public void connectAll(WTKeyedMap source)
WTKeyedMap
connectAll
in interface WTKeyedMap
source
- WTKeyedMap.connectAll(WTKeyedMap,boolean)
public void connectAll(WTKeyedMap source, boolean put_if_not_present)
WTKeyedMap
put_if_not_present
is true
, then mappings in the source map that don't exist
in this map are added to this map.
connectAll
in interface WTKeyedMap
source
- put_if_not_present
- public boolean containsKey(QueryKey queryKey)
WTKeyedMap
containsKey
in interface WTKeyedMap
queryKey
-
public boolean containsKey(Object key)
WTKeyedMap
containsKey
in interface WTKeyedMap
public boolean containsKey(Persistable persistable)
WTKeyedMap
containsKey
in interface WTKeyedMap
persistable
-
public boolean containsKey(WTReference wTReference)
WTKeyedMap
containsKey
in interface WTKeyedMap
wTReference
-
public boolean containsValue(Object value)
WTKeyedMap
containsValue
in interface WTKeyedMap
public Set entrySet()
WTKeyedMap
entrySet
in interface WTKeyedMap
public Object get(Object key)
WTKeyedMap
get
in interface WTKeyedMap
public Object get(Persistable persistable)
WTKeyedMap
get
in interface WTKeyedMap
persistable
-
public Object get(QueryKey queryKey)
WTKeyedMap
get
in interface WTKeyedMap
queryKey
-
public Object get(WTReference wTReference)
WTKeyedMap
get
in interface WTKeyedMap
wTReference
-
public int getKeyMask()
WTKeyedMap
getKeyMask
in interface WTKeyedMap
public boolean isDeflatedOnSerialization()
WTKeyedMap
isDeflatedOnSerialization
in interface WTKeyedMap
public boolean isEmpty()
WTKeyedMap
isEmpty
in interface WTKeyedMap
public boolean isEnabled(int param)
WTKeyedMap
isEnabled
in interface WTKeyedMap
param
-
public Set keySet()
WTKeyedMap
keySet
in interface WTKeyedMap
public Object put(Persistable persistable, Object obj)
WTKeyedMap
put
in interface WTKeyedMap
persistable
- obj
-
public Object put(WTReference wTReference, Object obj)
WTKeyedMap
put
in interface WTKeyedMap
wTReference
- obj
-
public Object put(Object key, Object value)
WTKeyedMap
put
in interface WTKeyedMap
public Object put(QueryKey queryKey, Object obj)
WTKeyedMap
put
in interface WTKeyedMap
queryKey
- obj
-
public void putAll(Map t)
WTKeyedMap
putAll
in interface WTKeyedMap
public Object remove(Persistable persistable)
WTKeyedMap
remove
in interface WTKeyedMap
persistable
-
public Object remove(Object key)
WTKeyedMap
remove
in interface WTKeyedMap
public Object remove(WTReference wTReference)
WTKeyedMap
remove
in interface WTKeyedMap
wTReference
-
public Object remove(QueryKey queryKey)
WTKeyedMap
remove
in interface WTKeyedMap
queryKey
-
public void setDeflatedOnSerialization(boolean param) throws WTPropertyVetoException
WTKeyedMap
setDeflatedOnSerialization
in interface WTKeyedMap
param
-
WTPropertyVetoException
public int size()
WTKeyedMap
size
in interface WTKeyedMap
public WTSet wtKeySet()
WTKeyedMap
wtKeySet
in interface WTKeyedMap
public boolean equals(Object o)
WTKeyedMap
equals
in interface WTKeyedMap
public int hashCode()
WTKeyedMap
hashCode
in interface WTKeyedMap
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |