Class DataStorage.Iterator

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Iterator()
      Default constructor.
    • Method Summary

      Modifier and Type Method Description
      void close()
      Closes the iterator.
      <T> T get​(Class<T> type)
      Gets the current element as a the specified element type.
      double getDouble()
      Gets the current element as a double.
      float getFloat()
      Gets the current element as a float.
      int getInt()
      Gets the current element as an int.
      long getLong()
      Gets the current element as a long.
      boolean hasNext()
      Check if next() can be called without going past the end of the sequence.
      void next()
      Advances the position in the stream by one element.
      <T> void set​(Class<T> type, T value)
      Sets the current element as the specified element type.
      void setDouble​(double value)
      Sets the current element as a double.
      void setFloat​(float value)
      Sets the current element as a float.
      void setInt​(int value)
      Sets the current element as an int.
      void setLong​(long value)
      Sets the current element as a long.