@Immutable public class RangeScatter extends Object implements RangeIterator
Constructor and Description |
---|
RangeScatter(String name,
int... val)
Ctor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName() |
int |
hashCode() |
Iterator<Integer> |
iterator() |
int |
length() |
RangeIterator |
setName(String name) |
String |
toString() |
forEach, spliterator
public RangeScatter(String name, int... val)
name
- optional nameval
- should be sortedpublic String getName()
getName
in interface RangeIterator
public RangeIterator setName(String name)
setName
in interface RangeIterator
public int length()
length
in interface RangeIterator