|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap
com.tangosol.util.NullImplementation.NullMap
public static class NullImplementation.NullMap
A Map that contains nothing and does nothing.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry |
Field Summary | |
---|---|
static Map |
INSTANCE
Since the Map contains no information, only one ever has to exist. |
Constructor Summary | |
---|---|
NullImplementation.NullMap()
Default constructor (for ExternalizableLite and PortableObject). |
Method Summary | |
---|---|
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
Set |
entrySet()
|
boolean |
equals(Object o)
|
Object |
get(Object key)
|
int |
hashCode()
|
Set |
keySet()
|
Object |
put(Object key,
Object value)
|
void |
putAll(Map map)
|
void |
readExternal(DataInput in)
Restore the contents of this object by loading the object's state from the passed DataInput object. |
void |
readExternal(PofReader in)
Restore the contents of a user type instance by reading its state using the specified PofReader object. |
Object |
remove(Object key)
|
int |
size()
|
Collection |
values()
|
void |
writeExternal(DataOutput out)
Save the contents of this object by storing the object's state into the passed DataOutput object. |
void |
writeExternal(PofWriter out)
Save the contents of a POF user type instance by writing its state using the specified PofWriter object. |
Methods inherited from class java.util.AbstractMap |
---|
clear, clone, isEmpty, toString |
Methods inherited from interface java.util.Map |
---|
clear, isEmpty |
Field Detail |
---|
public static final Map INSTANCE
Constructor Detail |
---|
public NullImplementation.NullMap()
Method Detail |
---|
public int size()
size
in interface Map
size
in class AbstractMap
public Object get(Object key)
get
in interface Map
get
in class AbstractMap
public Object put(Object key, Object value)
put
in interface Map
put
in class AbstractMap
public void putAll(Map map)
putAll
in interface Map
putAll
in class AbstractMap
public Object remove(Object key)
remove
in interface Map
remove
in class AbstractMap
public boolean containsKey(Object key)
containsKey
in interface Map
containsKey
in class AbstractMap
public boolean containsValue(Object value)
containsValue
in interface Map
containsValue
in class AbstractMap
public Set entrySet()
entrySet
in interface Map
entrySet
in class AbstractMap
public Set keySet()
keySet
in interface Map
keySet
in class AbstractMap
public Collection values()
values
in interface Map
values
in class AbstractMap
public boolean equals(Object o)
equals
in interface Map
equals
in class AbstractMap
public int hashCode()
hashCode
in interface Map
hashCode
in class AbstractMap
public void readExternal(DataInput in) throws IOException
readExternal
in interface ExternalizableLite
in
- the DataInput stream to read data from in order to restore
the state of this object
IOException
- if an I/O exception occurs
NotActiveException
- if the object is not in its initial
state, and therefore cannot be deserialized intopublic void writeExternal(DataOutput out) throws IOException
writeExternal
in interface ExternalizableLite
out
- the DataOutput stream to write the state of this object to
IOException
- if an I/O exception occurspublic void readExternal(PofReader in) throws IOException
readExternal
in interface PortableObject
in
- the PofReader from which to read the object's state
IOException
- if an I/O error occurspublic void writeExternal(PofWriter out) throws IOException
writeExternal
in interface PortableObject
out
- the PofWriter to which to write the object's state
IOException
- if an I/O error occurs
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |