Uses of Interface
com.google.common.collect.RangeSet
Packages that use RangeSet
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of RangeSet in com.google.common.collect
Classes in com.google.common.collect that implement RangeSetModifier and TypeClassDescriptionfinal classImmutableRangeSet<C extends Comparable>ARangeSetwhose contents will never change, with many other important properties detailed atImmutableCollection.classTreeRangeSet<C extends Comparable<?>>Methods in com.google.common.collect that return RangeSetModifier and TypeMethodDescriptionRangeSet.complement()Returns a view of the complement of thisRangeSet.TreeRangeSet.complement()RangeSet.subRangeSet(Range<C> view) Returns a view of the intersection of thisRangeSetwith the specified range.TreeRangeSet.subRangeSet(Range<C> view) Methods in com.google.common.collect with parameters of type RangeSetModifier and TypeMethodDescriptionvoidDeprecated.Unsupported operation.Add all ranges from the specified range set to this builder.voidAdds all of the ranges from the specified range set to this range set (optional operation).static <C extends Comparable>
ImmutableRangeSet<C> Returns an immutable copy of the specifiedRangeSet.static <C extends Comparable<?>>
TreeRangeSet<C> Returns aTreeRangeSetinitialized with the ranges in the specified range set.ImmutableRangeSet.difference(RangeSet<C> other) Returns a new range set consisting of the difference of this range set andother.booleanRangeSet.enclosesAll(RangeSet<C> other) Returnstrueif for each member range inotherthere exists a member range in this range set which encloses it.ImmutableRangeSet.intersection(RangeSet<C> other) Returns a new range set consisting of the intersection of this range set andother.voidDeprecated.Unsupported operation.voidRemoves all of the ranges from the specified range set from this range set (optional operation).Returns a new range set consisting of the union of this range set andother.