|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.myjavatools.lib.foundation.RangeList
public class RangeList
RangeList is a class that represents a list of values in a range. It is immutable.
List
Constructor Summary | |
---|---|
RangeList()
|
Method Summary | |
---|---|
static java.util.List<java.lang.Double> |
rangeList(double from,
double to,
double step)
Creates a list of doubles |
static java.util.List<java.lang.Integer> |
rangeList(int from,
int to)
Creates a list of integers |
static java.util.List<java.lang.Integer> |
rangeList(int from,
int to,
int step)
Creates a list of integers |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RangeList()
Method Detail |
---|
public static java.util.List<java.lang.Integer> rangeList(int from, int to, int step)
from
- intto
- intstep
- int
from
to to with a step step
public static java.util.List<java.lang.Integer> rangeList(int from, int to)
from
- integerto
- int
from
to to
public static java.util.List<java.lang.Double> rangeList(double from, double to, double step)
from
- doubleto
- doublestep
- double
from
to to with a step step
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |