public class RangeCollection extends UpdatableSetImpl
m_capacityIncrement, m_initialCapacity, m_objects
Constructor and Description |
---|
RangeCollection() |
RangeCollection(int initialCapacity) |
RangeCollection(int initialCapacity,
int capacityIncrement) |
Modifier and Type | Method and Description |
---|---|
void |
add(RangeCollection rangeCollection)
Merges two RangeCollections.
|
java.lang.Object |
clone() |
int |
count() |
void |
remove(RangeCollection rangeCollection)
Removes indices contained in the given RangeCollection.
|
java.lang.String |
toString() |
clear, duplicate, elements, equals, exclude, include, includeElements, includes, isEmpty, main, removeElements, removeOneOf, size, take
public RangeCollection()
public RangeCollection(int initialCapacity)
public RangeCollection(int initialCapacity, int capacityIncrement)
public void remove(RangeCollection rangeCollection)
the
- RangeCollection containing the indices to remove.public void add(RangeCollection rangeCollection)
the
- RangeCollection to merge.public java.lang.Object clone()
clone
in class UpdatableSetImpl
public int count()
public java.lang.String toString()
toString
in class java.lang.Object