|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Objects<E>
The main interface of all query results of NeoDatis ODB. Objects interface extends the Collection interface so it provides a standard collection behavior.
Method Summary | |
---|---|
boolean |
addWithKey(int key,
E o)
Add an object into the collection using a specific ordering key |
boolean |
addWithKey(OdbComparable key,
E o)
Add an object into the collection using a specific ordering key |
E |
getFirst()
Return the first object of the collection, if exist |
boolean |
hasNext()
Inform if the internal Iterator has more objects |
java.util.Iterator<E> |
iterator(OrderByConstants orderByType)
Returns the collection iterator throughout the order by OrderByConstants |
E |
next()
Returns the next object of the internal iterator of the collection |
boolean |
removeByKey(OdbComparable key,
java.lang.Object value)
Removes an object by its key |
void |
reset()
Reset the internal iterator of the collection |
Methods inherited from interface java.util.Collection |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Method Detail |
---|
boolean hasNext()
E next()
E getFirst()
void reset()
boolean addWithKey(OdbComparable key, E o)
key
- object
- The object can be an OID, can o NNOI (NonNativeObjectInfo) or
the object
boolean addWithKey(int key, E o)
key
- object
-
java.util.Iterator<E> iterator(OrderByConstants orderByType)
OrderByConstants
orderByType
-
boolean removeByKey(OdbComparable key, java.lang.Object value)
key
- value
- The object to be removed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |