|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.infonode.util.collection.map.SingleValueMap
public class SingleValueMap
| Field Summary | |
|---|---|
private java.lang.Object |
key
|
private java.lang.Object |
value
|
| Constructor Summary | |
|---|---|
SingleValueMap(java.lang.Object key,
java.lang.Object value)
|
|
| Method Summary | |
|---|---|
ConstMapIterator |
constIterator()
Returns an iterator for this map. |
boolean |
containsKey(java.lang.Object key)
Returns true if this map contains the key. |
boolean |
containsValue(java.lang.Object value)
Returns true if this map contains the value. |
java.lang.Object |
get(java.lang.Object key)
Returns the value associated with the key. |
boolean |
isEmpty()
Returns true if this collection is empty. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.Object key
private java.lang.Object value
| Constructor Detail |
|---|
public SingleValueMap(java.lang.Object key,
java.lang.Object value)
| Method Detail |
|---|
public java.lang.Object get(java.lang.Object key)
ConstMap
get in interface ConstMapkey - the key
public boolean containsKey(java.lang.Object key)
ConstMap
containsKey in interface ConstMapkey - the key
public boolean containsValue(java.lang.Object value)
ConstMap
containsValue in interface ConstMapvalue - the value
public ConstMapIterator constIterator()
ConstMap
constIterator in interface ConstMappublic boolean isEmpty()
ConstCollection
isEmpty in interface ConstCollection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||