Uses of Interface
com.google.common.collect.RangeSet
-
Packages that use RangeSet Package Description com.google.common.collect This package contains generic collection interfaces and implementations, and other utilities for working with collections. -
-
Uses of RangeSet in com.google.common.collect
Classes in com.google.common.collect that implement RangeSet Modifier and Type Class Description (package private) classAbstractRangeSet<C extends java.lang.Comparable>A skeletal implementation ofRangeSet.classImmutableRangeSet<C extends java.lang.Comparable>ARangeSetwhose contents will never change, with many other important properties detailed atImmutableCollection.classTreeRangeSet<C extends java.lang.Comparable<?>>An implementation ofRangeSetbacked by aTreeMap.private classTreeRangeSet.Complementprivate classTreeRangeSet.SubRangeSetFields in com.google.common.collect declared as RangeSet Modifier and Type Field Description private RangeSet<C>TreeRangeSet. complementMethods in com.google.common.collect that return RangeSet Modifier and Type Method Description RangeSet<C>RangeSet. complement()Returns a view of the complement of thisRangeSet.RangeSet<C>TreeRangeSet. complement()RangeSet<C>TreeRangeSet.Complement. complement()RangeSet<C>RangeSet. subRangeSet(Range<C> view)Returns a view of the intersection of thisRangeSetwith the specified range.RangeSet<C>TreeRangeSet. subRangeSet(Range<C> view)RangeSet<C>TreeRangeSet.SubRangeSet. subRangeSet(Range<C> view)Methods in com.google.common.collect with parameters of type RangeSet Modifier and Type Method Description voidAbstractRangeSet. addAll(RangeSet<C> other)voidImmutableRangeSet. addAll(RangeSet<C> other)Deprecated.Unsupported operation.ImmutableRangeSet.Builder<C>ImmutableRangeSet.Builder. addAll(RangeSet<C> ranges)Add all ranges from the specified range set to this builder.voidRangeSet. addAll(RangeSet<C> other)Adds all of the ranges from the specified range set to this range set (optional operation).static <C extends java.lang.Comparable>
ImmutableRangeSet<C>ImmutableRangeSet. copyOf(RangeSet<C> rangeSet)Returns an immutable copy of the specifiedRangeSet.static <C extends java.lang.Comparable<?>>
TreeRangeSet<C>TreeRangeSet. create(RangeSet<C> rangeSet)Returns aTreeRangeSetinitialized with the ranges in the specified range set.ImmutableRangeSet<C>ImmutableRangeSet. difference(RangeSet<C> other)Returns a new range set consisting of the difference of this range set andother.booleanAbstractRangeSet. enclosesAll(RangeSet<C> other)booleanRangeSet. enclosesAll(RangeSet<C> other)Returnstrueif for each member range inotherthere exists a member range in this range set which encloses it.ImmutableRangeSet<C>ImmutableRangeSet. intersection(RangeSet<C> other)Returns a new range set consisting of the intersection of this range set andother.voidAbstractRangeSet. removeAll(RangeSet<C> other)voidImmutableRangeSet. removeAll(RangeSet<C> other)Deprecated.Unsupported operation.voidRangeSet. removeAll(RangeSet<C> other)Removes all of the ranges from the specified range set from this range set (optional operation).ImmutableRangeSet<C>ImmutableRangeSet. union(RangeSet<C> other)Returns a new range set consisting of the union of this range set andother.
-