Package org.apache.cassandra.dht
Class Range.OrderedRangeContainmentChecker
java.lang.Object
org.apache.cassandra.dht.Range.OrderedRangeContainmentChecker
- Enclosing class:
- Range<T extends RingPosition<T>>
Helper class to check if a token is contained within a given collection of ranges
-
Constructor Details
-
OrderedRangeContainmentChecker
-
-
Method Details
-
test
Returns true if the ranges given in the constructor contains the token, false otherwise. The tokens passed to this method must be in increasing order
-