Constructor and Description |
---|
RangeSetImpl() |
RangeSetImpl(int size) |
RangeSetImpl(RangeSetImpl copy) |
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() |
boolean |
includes(int n) |
boolean |
includes(Range range) |
Iterator<Range> |
iterator() |
int |
size() |
void |
subtract(RangeSet other) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public RangeSetImpl()
public RangeSetImpl(int size)
public RangeSetImpl(RangeSetImpl copy)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.