Java com.google.common.collect RangeSet fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.collect RangeSet fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.collect RangeSet.

The text is from its open source code.

Method

voidadd(Range range)
Adds the specified range to this RangeSet (optional operation).
voidaddAll(RangeSet other)
Adds all of the ranges from the specified range set to this range set (optional operation).
Set>asDescendingSetOfRanges()
Returns a descending view of the Range#isConnected disconnected ranges that make up this range set.
Set>asRanges()
Returns a view of the Range#isConnected disconnected ranges that make up this range set.
voidclear()
Removes all ranges from this RangeSet (optional operation).
RangeSetcomplement()
Returns a view of the complement of this RangeSet .
booleancontains(C value)
Determines whether any of this range set's member ranges contains value .
booleanencloses(Range otherRange)
Returns true if there exists a member range in this range set which Range#encloses encloses the specified range.
booleanisEmpty()
Returns true if this range set contains no ranges.
RangerangeContaining(C value)
Returns the unique range from this range set that Range#contains contains value , or null if this range set does not contain value .
voidremove(Range range)
Removes the specified range from this RangeSet (optional operation).
voidremoveAll(RangeSet other)
Removes all of the ranges from the specified range set from this range set (optional operation).
Rangespan()
Returns the minimal range which Range#encloses(Range) encloses all ranges in this range set.
RangeSetsubRangeSet(Range view)
Returns a view of the intersection of this RangeSet with the specified range.