Package | Description |
---|---|
org.apache.commons.functor.range |
Contains code related to Ranges.
|
Modifier and Type | Field and Description |
---|---|
protected Endpoint<T> |
AbstractRange.leftEndpoint
Left limit.
|
protected Endpoint<T> |
AbstractRange.rightEndpoint
Right limit.
|
Modifier and Type | Method and Description |
---|---|
Endpoint<T> |
Range.getLeftEndpoint()
Get the left limit of this range.
|
Endpoint<T> |
AbstractRange.getLeftEndpoint()
Get the left limit of this range.
|
Endpoint<T> |
Range.getRightEndpoint()
Get the right limit of this range.
|
Endpoint<T> |
AbstractRange.getRightEndpoint()
Get the right limit of this range.
|
Modifier and Type | Method and Description |
---|---|
static CharacterRange |
Ranges.characterRange(Endpoint<Character> leftEndpoint,
Endpoint<Character> rightEndpoint,
int step)
Create a new CharacterRange.
|
static CharacterRange |
Ranges.characterRange(Endpoint<Character> leftEndpoint,
Endpoint<Character> rightEndpoint,
int step)
Create a new CharacterRange.
|
static DoubleRange |
Ranges.doubleRange(Endpoint<Double> leftEndpoint,
Endpoint<Double> rightEndpoint,
double step)
Create a new DoubleRange.
|
static DoubleRange |
Ranges.doubleRange(Endpoint<Double> leftEndpoint,
Endpoint<Double> rightEndpoint,
double step)
Create a new DoubleRange.
|
static FloatRange |
Ranges.floatRange(Endpoint<Float> leftEndpoint,
Endpoint<Float> rightEndpoint,
float step)
Create a new FloatRange.
|
static FloatRange |
Ranges.floatRange(Endpoint<Float> leftEndpoint,
Endpoint<Float> rightEndpoint,
float step)
Create a new FloatRange.
|
static IntegerRange |
Ranges.integerRange(Endpoint<Integer> leftEndpoint,
Endpoint<Integer> rightEndpoint,
int step)
Create a new IntegerRange.
|
static IntegerRange |
Ranges.integerRange(Endpoint<Integer> leftEndpoint,
Endpoint<Integer> rightEndpoint,
int step)
Create a new IntegerRange.
|
static LongRange |
Ranges.longRange(Endpoint<Long> leftEndpoint,
Endpoint<Long> rightEndpoint,
long step)
Create a new LongRange.
|
static LongRange |
Ranges.longRange(Endpoint<Long> leftEndpoint,
Endpoint<Long> rightEndpoint,
long step)
Create a new LongRange.
|
Constructor and Description |
---|
AbstractRange(Endpoint<T> leftEndpoint,
Endpoint<T> rightEndpoint,
S step,
BinaryFunction<T,S,T> nextValue)
Create a new
AbstractRange . |
AbstractRange(Endpoint<T> leftEndpoint,
Endpoint<T> rightEndpoint,
S step,
BinaryFunction<T,S,T> nextValue)
Create a new
AbstractRange . |
CharacterRange(Endpoint<Character> from,
Endpoint<Character> to)
Create a new CharacterRange.
|
CharacterRange(Endpoint<Character> from,
Endpoint<Character> to)
Create a new CharacterRange.
|
CharacterRange(Endpoint<Character> from,
Endpoint<Character> to,
int step)
Create a new CharacterRange.
|
CharacterRange(Endpoint<Character> from,
Endpoint<Character> to,
int step)
Create a new CharacterRange.
|
DoubleRange(Endpoint<Double> from,
Endpoint<Double> to)
Create a new DoubleRange.
|
DoubleRange(Endpoint<Double> from,
Endpoint<Double> to)
Create a new DoubleRange.
|
DoubleRange(Endpoint<Double> from,
Endpoint<Double> to,
double step)
Create a new DoubleRange.
|
DoubleRange(Endpoint<Double> from,
Endpoint<Double> to,
double step)
Create a new DoubleRange.
|
FloatRange(Endpoint<Float> from,
Endpoint<Float> to)
Create a new FloatRange.
|
FloatRange(Endpoint<Float> from,
Endpoint<Float> to)
Create a new FloatRange.
|
FloatRange(Endpoint<Float> from,
Endpoint<Float> to,
float step)
Create a new FloatRange.
|
FloatRange(Endpoint<Float> from,
Endpoint<Float> to,
float step)
Create a new FloatRange.
|
IntegerRange(Endpoint<Integer> from,
Endpoint<Integer> to)
Create a new IntegerRange.
|
IntegerRange(Endpoint<Integer> from,
Endpoint<Integer> to)
Create a new IntegerRange.
|
IntegerRange(Endpoint<Integer> from,
Endpoint<Integer> to,
int step)
Create a new IntegerRange.
|
IntegerRange(Endpoint<Integer> from,
Endpoint<Integer> to,
int step)
Create a new IntegerRange.
|
LongRange(Endpoint<Long> from,
Endpoint<Long> to)
Create a new LongRange.
|
LongRange(Endpoint<Long> from,
Endpoint<Long> to)
Create a new LongRange.
|
LongRange(Endpoint<Long> from,
Endpoint<Long> to,
int step)
Create a new LongRange.
|
LongRange(Endpoint<Long> from,
Endpoint<Long> to,
int step)
Create a new LongRange.
|
LongRange(Endpoint<Long> from,
Endpoint<Long> to,
long step)
Create a new LongRange.
|
LongRange(Endpoint<Long> from,
Endpoint<Long> to,
long step)
Create a new LongRange.
|
NumericRange(Endpoint<T> leftEndpoint,
Endpoint<T> rightEndpoint,
T step,
BinaryFunction<T,T,T> nextValue)
Construct a new
NumericRange . |
NumericRange(Endpoint<T> leftEndpoint,
Endpoint<T> rightEndpoint,
T step,
BinaryFunction<T,T,T> nextValue)
Construct a new
NumericRange . |
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.