Class UnmodifiableDoubleIterator
- java.lang.Object
-
- org.eclipse.collections.impl.iterator.UnmodifiableDoubleIterator
-
- All Implemented Interfaces:
DoubleIterator
,MutableDoubleIterator
public class UnmodifiableDoubleIterator extends java.lang.Object implements MutableDoubleIterator
UnmodifiableDoubleIterator is a wrapper around DoubleIterator 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 DoubleIterator
doubleIterator
-
Constructor Summary
Constructors Constructor Description UnmodifiableDoubleIterator(DoubleIterator doubleIterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
double
next()
void
remove()
-
-
-
Field Detail
-
doubleIterator
private final DoubleIterator doubleIterator
-
-
Constructor Detail
-
UnmodifiableDoubleIterator
public UnmodifiableDoubleIterator(DoubleIterator doubleIterator)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceDoubleIterator
-
next
public double next()
- Specified by:
next
in interfaceDoubleIterator
-
remove
public void remove()
- Specified by:
remove
in interfaceMutableDoubleIterator
-
-