org.neodatis.odb
Interface Values
-
- All Superinterfaces:
- java.util.Collection<ObjectValues>, java.lang.Iterable<ObjectValues>, Objects<ObjectValues>
- All Known Implementing Classes:
- InMemoryBTreeCollectionForValues, SimpleListForValues
public interface Values extends Objects<ObjectValues>
The main interface of all Object Values query results of NeoDatis ODB
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description booleanaddWithKey(int key, ObjectValues object)Add an object into the collection using a specific ordering keybooleanaddWithKey(OdbComparable key, ObjectValues object)Add an object into the collection using a specific ordering keyObjectValuesgetFirst()Return the first object of the collection, if existbooleanhasNext()Inform if the internal Iterator has more objectsjava.util.Iterator<ObjectValues>iterator(OrderByConstants orderByType)Returns the collection iterator throughout the order byOrderByConstantsObjectValuesnextValues()voidreset()Reset the internal iterator of the collection-
Methods inherited from interface org.neodatis.odb.Objects
next, removeByKey
-
-
-
-
Method Detail
-
nextValues
ObjectValues nextValues()
-
hasNext
boolean hasNext()
Inform if the internal Iterator has more objects- Specified by:
hasNextin interfaceObjects<ObjectValues>- Returns:
-
getFirst
ObjectValues getFirst()
Return the first object of the collection, if exist- Specified by:
getFirstin interfaceObjects<ObjectValues>- Returns:
-
reset
void reset()
Reset the internal iterator of the collection- Specified by:
resetin interfaceObjects<ObjectValues>
-
addWithKey
boolean addWithKey(OdbComparable key, ObjectValues object)
Add an object into the collection using a specific ordering key- Specified by:
addWithKeyin interfaceObjects<ObjectValues>- Parameters:
key-object-- Returns:
-
addWithKey
boolean addWithKey(int key, ObjectValues object)Add an object into the collection using a specific ordering key- Specified by:
addWithKeyin interfaceObjects<ObjectValues>- Parameters:
key-object-- Returns:
-
iterator
java.util.Iterator<ObjectValues> iterator(OrderByConstants orderByType)
Returns the collection iterator throughout the order byOrderByConstants- Specified by:
iteratorin interfaceObjects<ObjectValues>- Parameters:
orderByType-- Returns:
-
-
DataMelt 3.0 © DataMelt by jWork.ORG