Package net.mtrop.doom.object
Class BinaryObject.InlineScanner<BO extends BinaryObject>
java.lang.Object
net.mtrop.doom.object.BinaryObject.InlineScanner<BO>
- Type Parameters:
BO
- the BinaryObject type.
- All Implemented Interfaces:
AutoCloseable
,Iterator<BO>
- Enclosing interface:
- BinaryObject
public static class BinaryObject.InlineScanner<BO extends BinaryObject>
extends Object
implements Iterator<BO>, AutoCloseable
A deserializing scanner iterator that returns the same object instance with its contents changed.
- Since:
- 2.8.0, this class implements
AutoCloseable
.
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<BO extends BinaryObject>
-
next
- Specified by:
next
in interfaceIterator<BO extends BinaryObject>
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-