public class DataValueRangeMatcher extends Object implements TargetMatcher
| Constructor and Description |
|---|
DataValueRangeMatcher(int typeId,
com.google.common.base.Predicate<Short> dataMatcher) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMatchedTypeId()
Get the matched type ID, which is merely used for indexing.
|
boolean |
test(Target target)
Return whether the given target is matched by this matcher.
|
public DataValueRangeMatcher(int typeId,
com.google.common.base.Predicate<Short> dataMatcher)
public int getMatchedTypeId()
TargetMatchergetMatchedTypeId in interface TargetMatcherpublic boolean test(Target target)
TargetMatchertest in interface TargetMatchertarget - the targetCopyright © 2015. All Rights Reserved.