|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.orientechnologies.jdo.types.d_Collection
com.orientechnologies.jdo.types.d_Dictionary
Persistent collection that handle entries as key/values. It implements Map interface and works such as HashMap class, but it store elements in persistent way.
| Nested Class Summary |
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Field Summary |
| Fields inherited from class com.orientechnologies.jdo.types.d_Collection |
blocks, blockSize, head, relationship, tail, total |
| Constructor Summary | |
d_Dictionary()
|
|
d_Dictionary(oPersistenceManager iManager,
boolean iRelationship)
|
|
| Method Summary | |
boolean |
contains(java.lang.Object iValue)
Tests is the collection contains the value passed as argoument |
boolean |
containsKey(java.lang.Object iKey)
Tests is the collection contains the key passed as argoument |
boolean |
containsValue(java.lang.Object iValue)
Tests is the collection contains the value passed as argoument. |
java.util.Enumeration |
elements()
Returns an enumeration of keys. |
java.util.Set |
entrySet()
Return a set of values. |
java.lang.Object |
get(java.lang.Object iKey)
Get a value from the collection searching by the key |
java.lang.Object |
getRaw(java.lang.Object iKey)
Get the raw value from the collection searching by the key. |
java.util.Iterator |
iterator()
Returns the iterator over the collection |
java.util.Enumeration |
keys()
Returns an enumeration of keys. |
java.util.Set |
keySet()
Return a set of keys. |
java.lang.Object |
put(java.lang.Object iKey,
java.lang.Object iValue)
Insert a value in the collection giving a key |
void |
putAll(java.util.Map iSourceMap)
Insert all map values in the collection |
java.lang.Object |
remove(java.lang.Object iKey)
Remove an entry from the dictionary. |
java.util.Collection |
values()
Returns a Collection view of values. |
| Methods inherited from class com.orientechnologies.jdo.types.d_Collection |
clear, find, fromCollection, get, insert_element, isEmpty, isRelationship, remove, setRelationship, size, toCollection |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map |
clear, equals, hashCode, isEmpty, size |
| Constructor Detail |
public d_Dictionary()
public d_Dictionary(oPersistenceManager iManager,
boolean iRelationship)
| Method Detail |
public java.util.Set entrySet()
entrySet in interface java.util.Mappublic java.util.Set keySet()
keySet in interface java.util.Mappublic java.util.Enumeration elements()
public java.util.Enumeration keys()
public java.util.Collection values()
values in interface java.util.Mappublic java.util.Iterator iterator()
iterator in class d_Collectionpublic void putAll(java.util.Map iSourceMap)
putAll in interface java.util.MapiSourceMap - Source map to copy
public java.lang.Object put(java.lang.Object iKey,
java.lang.Object iValue)
put in interface java.util.MapiKey - Key to retrieve the valueiValue - Value associated to key
public java.lang.Object get(java.lang.Object iKey)
get in interface java.util.MapiKey - Is the key to search
public java.lang.Object getRaw(java.lang.Object iKey)
iKey - Is the key to search
public boolean containsKey(java.lang.Object iKey)
containsKey in interface java.util.MapiKey - Key to search
public boolean contains(java.lang.Object iValue)
contains in class d_CollectioniValue - Value to search
public boolean containsValue(java.lang.Object iValue)
containsValue in interface java.util.MapiValue - Value to search
public java.lang.Object remove(java.lang.Object iKey)
remove in interface java.util.Mapremove in class d_CollectioniKey - key of entry to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||