Class UnmodifiableBooleanIterator
- java.lang.Object
-
- org.eclipse.collections.impl.iterator.UnmodifiableBooleanIterator
-
- All Implemented Interfaces:
BooleanIterator,MutableBooleanIterator
public class UnmodifiableBooleanIterator extends java.lang.Object implements MutableBooleanIterator
UnmodifiableBooleanIterator is a wrapper around BooleanIterator which is unmodifiable and doesn't support remove. This file was automatically generated from template file unmodifiablePrimitiveIterator.stg.
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanIteratorbooleanIterator
-
Constructor Summary
Constructors Constructor Description UnmodifiableBooleanIterator(BooleanIterator booleanIterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()booleannext()voidremove()
-
-
-
Field Detail
-
booleanIterator
private final BooleanIterator booleanIterator
-
-
Constructor Detail
-
UnmodifiableBooleanIterator
public UnmodifiableBooleanIterator(BooleanIterator booleanIterator)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceBooleanIterator
-
next
public boolean next()
- Specified by:
nextin interfaceBooleanIterator
-
remove
public void remove()
- Specified by:
removein interfaceMutableBooleanIterator
-
-