oracle.dss.util
Class RangeCollection
java.lang.Object
oracle.dss.util.UpdatableSetImpl
oracle.dss.util.RangeCollection
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, Collection, UpdatableCollection, UpdatableSet
public class RangeCollection
- extends UpdatableSetImpl
- See Also:
- Serialized Form
Methods inherited from class oracle.dss.util.UpdatableSetImpl |
clear, duplicate, elements, equals, exclude, include, includeElements, includes, isEmpty, main, removeElements, removeOneOf, size, take |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RangeCollection
public RangeCollection()
RangeCollection
public RangeCollection(int initialCapacity)
RangeCollection
public RangeCollection(int initialCapacity,
int capacityIncrement)
remove
public void remove(RangeCollection rangeCollection)
- Removes indices contained in the given RangeCollection.
- Parameters:
the
- RangeCollection containing the indices to remove.
add
public void add(RangeCollection rangeCollection)
- Merges two RangeCollections.
- Parameters:
the
- RangeCollection to merge.
clone
public java.lang.Object clone()
- Overrides:
clone
in class UpdatableSetImpl
count
public int count()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 1997, 2009, Oracle. All rights reserved.