Constructor and Description |
---|
Range() |
Modifier and Type | Method and Description |
---|---|
void |
add(int value) |
void |
add(int lower,
int upper) |
void |
add(Range range) |
void |
clear() |
RangeSet |
copy() |
Range |
getFirst() |
Range |
getLast() |
abstract int |
getLower() |
abstract int |
getUpper() |
abstract boolean |
includes(int value) |
abstract boolean |
includes(Range range) |
Range |
intersect(Range range) |
abstract boolean |
intersects(Range range) |
Iterator<Range> |
iterator() |
static Range |
newInstance(int point) |
static Range |
newInstance(int lower,
int upper) |
int |
size() |
abstract Range |
span(Range range) |
abstract List<Range> |
subtract(Range range) |
void |
subtract(RangeSet rangeSet) |
abstract boolean |
touches(Range range) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public static Range newInstance(int point)
public static Range newInstance(int lower, int upper)
public abstract int getLower()
public abstract int getUpper()
public abstract boolean intersects(Range range)
public abstract boolean touches(Range range)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.