Package org.apfloat.internal
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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apfloat.internal.FloatMemoryDataStorage.ReadWriteIterator
checkLength, get, hasNext, next, set, setFloat
Methods inherited from class org.apfloat.spi.DataStorage.AbstractIterator
checkGet, checkSet, getDouble, getIncrement, getInt, getLength, getLong, getMode, getPosition, setDouble, setInt, setLong
Methods inherited from class org.apfloat.spi.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.Iterator
Gets the current element as afloat
.The default implementation calls
DataStorage.Iterator.get(Class)
with argumentFloat.TYPE
.- Overrides:
getFloat
in classFloatMemoryDataStorage.ReadWriteIterator
- Returns:
- The current element as a
float
. - Throws:
IllegalStateException
- If the iterator is at the end.
-