public static class Range.OrderedRangeContainmentChecker
extends java.lang.Object
Constructor and Description |
---|
OrderedRangeContainmentChecker(java.util.Collection<Range<Token>> ranges) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Token t)
Returns true if the ranges given in the constructor contains the token, false otherwise.
|
public boolean contains(Token t)
t
- token to check, must be larger than or equal to the last token passedCopyright © 2020 The Apache Software Foundation