Class UnmodifiableIntegerDBIDs.UnmodifiableDBIDIter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private IntegerDBIDIter it
      Wrapped iterator.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DBIDIter advance()
      Moves the iterator forward to the next entry.
      int internalGetIndex()
      Return the integer value of the object ID.
      boolean valid()
      Returns true if the iterator currently points to a valid object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UnmodifiableDBIDIter

        public UnmodifiableDBIDIter​(IntegerDBIDIter it)
        Constructor.
        Parameters:
        it - inner iterator
    • Method Detail

      • valid

        public boolean valid()
        Description copied from interface: Iter
        Returns true if the iterator currently points to a valid object.
        Specified by:
        valid in interface Iter
        Returns:
        a boolean value, whether the position is valid.
      • advance

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