public class StringSingletonRange extends AbstractRange<String>
| Constructor and Description |
|---|
StringSingletonRange(char character) |
StringSingletonRange(String value) |
| 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() |
String |
getTo() |
compare, compareFromValue, compareTo, compareToValue, contains, createNew, equals, hashCode, iterator, next, previous, size, toList, toStringpublic StringSingletonRange(char character)
public StringSingletonRange(String value)
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 String getTo()
getTo in class AbstractRange<String>Copyright © 2015 Revolution Systems Inc.. All rights reserved.