Interface DBIDIter

    • Method Detail

      • advance

        DBIDIter advance()
        Description copied from interface: Iter
        Moves the iterator forward to the next entry.
        Specified by:
        advance in interface Iter
        Returns:
        The iterator itself.
      • addTo

        default <T extends ModifiableDBIDs> T addTo​(T collection)
        Add all remaining elements of an iterator to an existing collection.
        Type Parameters:
        T - Collection type
        Parameters:
        collection - Existing collection
        Returns:
        The existing collection