|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.TreeMap
org.apache.commons.collections.FastTreeMap
org.apache.cayenne.util.CayenneMap
public class CayenneMap
A CayenneMap
is a specialized double-linked sorted map class. Attempts
to add objects using an already existing keys will result in IllegalArgumentExceptions.
Any added entries that implement CayenneMapEntry interface will have their parent set
to the parent of this map.
CayenneMap is not subclassed directly, but is rather used as an instance variable within another class. Enclosing instance would set itself as a parent of this map.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
Field Summary | |
---|---|
protected Object |
parent
Deprecated. |
Fields inherited from class org.apache.commons.collections.FastTreeMap |
---|
fast, map |
Constructor Summary | |
---|---|
CayenneMap(Object parent)
Deprecated. Constructor for CayenneMap. |
|
CayenneMap(Object parent,
Comparator c)
Deprecated. Constructor for CayenneMap. |
|
CayenneMap(Object parent,
Map m)
Deprecated. Constructor for CayenneMap. |
|
CayenneMap(Object parent,
SortedMap m)
Deprecated. Constructor for CayenneMap. |
Method Summary | |
---|---|
Object |
getParent()
Deprecated. Returns the parent. |
Object |
put(Object key,
Object value)
Deprecated. Maps specified key-value pair. |
void |
putAll(Map t)
Deprecated. |
void |
setParent(Object mapParent)
Deprecated. |
Methods inherited from class org.apache.commons.collections.FastTreeMap |
---|
clear, clone, comparator, containsKey, containsValue, entrySet, equals, firstKey, get, getFast, hashCode, headMap, isEmpty, keySet, lastKey, remove, setFast, size, subMap, tailMap, values |
Methods inherited from class java.util.TreeMap |
---|
ceilingEntry, ceilingKey, descendingKeySet, descendingMap, firstEntry, floorEntry, floorKey, headMap, higherEntry, higherKey, lastEntry, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, subMap, tailMap |
Methods inherited from class java.util.AbstractMap |
---|
toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Object parent
Constructor Detail |
---|
public CayenneMap(Object parent)
public CayenneMap(Object parent, Comparator c)
c
- public CayenneMap(Object parent, Map m)
m
- public CayenneMap(Object parent, SortedMap m)
m
- Method Detail |
---|
public Object put(Object key, Object value)
put
in interface Map
put
in class org.apache.commons.collections.FastTreeMap
Map.put(Object, Object)
public void putAll(Map t)
putAll
in interface Map
putAll
in class org.apache.commons.collections.FastTreeMap
Map.putAll(Map)
public Object getParent()
public void setParent(Object mapParent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |