Class FloatMemoryDataStorage.WriteOnlyIterator
java.lang.Object
org.apfloat.spi.DataStorage.Iterator
org.apfloat.spi.DataStorage.AbstractIterator
org.apfloat.internal.FloatMemoryDataStorage.ReadWriteIterator
org.apfloat.internal.FloatMemoryDataStorage.WriteOnlyIterator
- All Implemented Interfaces:
Serializable, AutoCloseable
- Enclosing class:
FloatMemoryDataStorage
private class FloatMemoryDataStorage.WriteOnlyIterator
extends FloatMemoryDataStorage.ReadWriteIterator
- Version:
- 1.9.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class FloatMemoryDataStorage.ReadWriteIterator
checkLength, get, hasNext, next, set, setFloatMethods inherited from class DataStorage.AbstractIterator
checkGet, checkSet, getDouble, getIncrement, getInt, getLength, getLong, getMode, getPosition, setDouble, setInt, setLongMethods inherited from class DataStorage.Iterator
close
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
WriteOnlyIterator
public WriteOnlyIterator(long startPosition, long endPosition) throws IllegalArgumentException, IllegalStateException, ApfloatRuntimeException
-
-
Method Details
-
getFloat
Description copied from class:DataStorage.IteratorGets the current element as afloat.The default implementation calls
DataStorage.Iterator.get(Class)with argumentFloat.TYPE.- Overrides:
getFloatin classFloatMemoryDataStorage.ReadWriteIterator- Returns:
- The current element as a
float. - Throws:
IllegalStateException- If the iterator is at the end.
-