Package ucar.ma2
Interface RangeIterator
-
- All Known Implementing Classes:
Range
,RangeComposite
,RangeScatter
public interface RangeIterator extends Iterable<Integer>
Generalization of Range (which is restricted to (start:stop:stride). RangeIterator is over an arbitrary set of integers from the set {0..fullSize-1}.- Since:
- 8/19/2015
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description RangeIterator
copyWithName(String name)
Make a copy with a different name.String
getName()
The name of this Range iterator.Iterator<Integer>
iterator()
int
length()
The number of index in this iterator.RangeIterator
setName(String name)
Deprecated.use copyWithName().-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
length
int length()
The number of index in this iterator.
-
getName
String getName()
The name of this Range iterator.
-
setName
@Deprecated RangeIterator setName(String name)
Deprecated.use copyWithName().
-
copyWithName
RangeIterator copyWithName(String name)
Make a copy with a different name.
-
-