public class CrossProductRange extends AbstractRange<String>
| Constructor and Description |
|---|
CrossProductRange(AbstractRange<?>... ranges) |
CrossProductRange(Collection<? extends AbstractRange<?>> ranges) |
| Modifier and Type | Method and Description |
|---|---|
AbstractRange<?> |
expand(AbstractRange<?> range)
Create an expanded range if the this range and the other overlap or touch
|
AbstractRange<?> |
expand(Object value)
Create an expanded range to include the specified value if possible.
|
String |
getFrom() |
AbstractRange<?> |
getRange(int i) |
List<AbstractRange<?>> |
getRanges() |
String |
getTo() |
Iterator<String> |
iterator() |
long |
size() |
String |
toString() |
compare, compareFromValue, compareTo, compareToValue, contains, createNew, equals, hashCode, next, previous, toListpublic CrossProductRange(AbstractRange<?>... ranges)
public CrossProductRange(Collection<? extends AbstractRange<?>> ranges)
public AbstractRange<?> expand(AbstractRange<?> range)
AbstractRangeexpand in class AbstractRange<String>public AbstractRange<?> expand(Object value)
AbstractRangeexpand in class AbstractRange<String>public String getFrom()
getFrom in class AbstractRange<String>public AbstractRange<?> getRange(int i)
public List<AbstractRange<?>> getRanges()
public String getTo()
getTo in class AbstractRange<String>public long size()
size in class AbstractRange<String>public String toString()
toString in class AbstractRange<String>Copyright © 2015 Revolution Systems Inc.. All rights reserved.