Documentation of 'org.neodatis.odb.Objects' Java class
Objects
org.neodatis.odb

Interface Objects<E>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      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, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
    • Method Detail

      • hasNext

        boolean hasNext()
        Inform if the internal Iterator has more objects
        Returns:
      • next

        E next()
        Returns the next object of the internal iterator of the collection
        Returns:
      • getFirst

        E getFirst()
        Return the first object of the collection, if exist
        Returns:
      • reset

        void reset()
        Reset the internal iterator of the collection
      • addWithKey

        boolean addWithKey(OdbComparable key,
                           E o)
        Add an object into the collection using a specific ordering key
        Parameters:
        key -
        object - The object can be an OID, can o NNOI (NonNativeObjectInfo) or the object
        Returns:
      • addWithKey

        boolean addWithKey(int key,
                           E o)
        Add an object into the collection using a specific ordering key
        Parameters:
        key -
        object -
        Returns:
      • iterator

        java.util.Iterator<E> iterator(OrderByConstants orderByType)
        Returns the collection iterator throughout the order by OrderByConstants
        Parameters:
        orderByType -
        Returns:
      • removeByKey

        boolean removeByKey(OdbComparable key,
                            java.lang.Object value)
        Removes an object by its key
        Parameters:
        key -
        value - The object to be removed
        Returns:
        true if object has been removed

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.