Package elki.result

Class Metadata.EagerIt<O>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Object current
      Next object to return.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private EagerIt()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      O get()
      Access the current object.
      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
    • Field Detail

      • current

        protected java.lang.Object current
        Next object to return.
    • Constructor Detail

      • EagerIt

        private EagerIt()
    • 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.
      • get

        public O get()
        Description copied from interface: It
        Access the current object.
        Specified by:
        get in interface It<O>
        Returns:
        Current object