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 BooleanIterator
booleanIterator
-
Constructor Summary
Constructors Constructor Description UnmodifiableBooleanIterator(BooleanIterator booleanIterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
boolean
next()
void
remove()
-
-
-
Field Detail
-
booleanIterator
private final BooleanIterator booleanIterator
-
-
Constructor Detail
-
UnmodifiableBooleanIterator
public UnmodifiableBooleanIterator(BooleanIterator booleanIterator)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceBooleanIterator
-
next
public boolean next()
- Specified by:
next
in interfaceBooleanIterator
-
remove
public void remove()
- Specified by:
remove
in interfaceMutableBooleanIterator
-
-