T
- Type of itemspublic static final class Condition.Range<T> extends Object implements Condition<T>
Condition.Not<T>, Condition.Range<T>, Condition.Regexp, Condition.True<T>
Constructor and Description |
---|
Range(int strtpos)
Ctor with original condition set to
Condition.True
and ending position to the max possible value. |
Range(int strtpos,
int endpos)
Ctor with original condition set to
Condition.True . |
Range(int strtpos,
int endpos,
Condition<T> cndtn)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
fits(T element)
Determine if an element should be added.
|
public Range(int strtpos)
Condition.True
and ending position to the max possible value.strtpos
- Starting positionpublic Range(int strtpos, int endpos)
Condition.True
.strtpos
- Starting positionendpos
- Ending positionCopyright © 2015–2018 Take. All rights reserved.