Package org.infinispan.stream.impl
Class EndIterator
- java.lang.Object
-
- org.infinispan.stream.impl.EndIterator
-
public class EndIterator extends Object
Singleton object with no state that is used to signal that an iterator has reached the end. This is useful for serialization/deserialization so you don't have to query the total number of elements.- Since:
- 9.0
- Author:
- wburns
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EndIterator.EndIteratorExternalizer
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EndIterator
getInstance()
-
-
-
Method Detail
-
getInstance
public static EndIterator getInstance()
-
-