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