|
Oracle® Coherence Java API Reference v3.5 E14977-01 |
|||||||
| 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 |
|---|
java.util.Map.Entry |
| Field Summary | |
|---|---|
static java.util.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(java.lang.Object key)
|
boolean |
containsValue(java.lang.Object value)
|
java.util.Set |
entrySet()
|
boolean |
equals(java.lang.Object o)
|
java.lang.Object |
get(java.lang.Object key)
|
int |
hashCode()
|
java.util.Set |
keySet()
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
|
void |
putAll(java.util.Map map)
|
void |
readExternal(java.io.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. |
java.lang.Object |
remove(java.lang.Object key)
|
int |
size()
|
java.util.Collection |
values()
|
void |
writeExternal(java.io.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 java.util.Map INSTANCE
| Constructor Detail |
|---|
public NullImplementation.NullMap()
| Method Detail |
|---|
public int size()
size in interface java.util.Mapsize in class java.util.AbstractMappublic java.lang.Object get(java.lang.Object key)
get in interface java.util.Mapget in class java.util.AbstractMap
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
put in interface java.util.Mapput in class java.util.AbstractMappublic void putAll(java.util.Map map)
putAll in interface java.util.MapputAll in class java.util.AbstractMappublic java.lang.Object remove(java.lang.Object key)
remove in interface java.util.Mapremove in class java.util.AbstractMappublic boolean containsKey(java.lang.Object key)
containsKey in interface java.util.MapcontainsKey in class java.util.AbstractMappublic boolean containsValue(java.lang.Object value)
containsValue in interface java.util.MapcontainsValue in class java.util.AbstractMappublic java.util.Set entrySet()
entrySet in interface java.util.MapentrySet in class java.util.AbstractMappublic java.util.Set keySet()
keySet in interface java.util.MapkeySet in class java.util.AbstractMappublic java.util.Collection values()
values in interface java.util.Mapvalues in class java.util.AbstractMappublic boolean equals(java.lang.Object o)
equals in interface java.util.Mapequals in class java.util.AbstractMappublic int hashCode()
hashCode in interface java.util.MaphashCode in class java.util.AbstractMap
public void readExternal(java.io.DataInput in)
throws java.io.IOException
readExternal in interface ExternalizableLitein - the DataInput stream to read data from in order to restore
the state of this object
java.io.IOException - if an I/O exception occurs
java.io.NotActiveException - if the object is not in its initial
state, and therefore cannot be deserialized into
public void writeExternal(java.io.DataOutput out)
throws java.io.IOException
writeExternal in interface ExternalizableLiteout - the DataOutput stream to write the state of this object to
java.io.IOException - if an I/O exception occurs
public void readExternal(PofReader in)
throws java.io.IOException
readExternal in interface PortableObjectin - the PofReader from which to read the object's state
java.io.IOException - if an I/O error occurs
public void writeExternal(PofWriter out)
throws java.io.IOException
writeExternal in interface PortableObjectout - the PofWriter to which to write the object's state
java.io.IOException - if an I/O error occurs
|
Oracle® Coherence Java API Reference v3.5 E14977-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||