Package com.google.common.collect
Class TreeRangeSet.AsRanges
java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingCollection<Range<C>>
com.google.common.collect.TreeRangeSet.AsRanges
- Enclosing class:
TreeRangeSet<C extends Comparable<?>>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.common.collect.ForwardingCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRemoveAll, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
Methods inherited from class com.google.common.collect.ForwardingObject
toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Field Details
-
delegate
-
-
Constructor Details
-
AsRanges
AsRanges(Collection<Range<C>> delegate)
-
-
Method Details
-
delegate
Description copied from class:ForwardingObject
Returns the backing delegate instance that methods are forwarded to. Abstract subclasses generally override this method with an abstract method that has a more specific return type, such asForwardingSet.delegate()
. Concrete subclasses override this method to supply the instance being decorated.- Specified by:
delegate
in classForwardingCollection<Range<C extends Comparable<?>>>
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceCollection<Range<C extends Comparable<?>>>
- Specified by:
hashCode
in interfaceSet<Range<C extends Comparable<?>>>
- Overrides:
hashCode
in classObject
-
equals
- Specified by:
equals
in interfaceCollection<Range<C extends Comparable<?>>>
- Specified by:
equals
in interfaceSet<Range<C extends Comparable<?>>>
- Overrides:
equals
in classObject
-