public class Prerequisite<T extends OFValueType<T>> extends Object
Constructor and Description |
---|
Prerequisite(MatchField<T> field,
OFValueType<T>... values) |
Modifier and Type | Method and Description |
---|---|
MatchField<T> |
getMatchField()
Get the MatchField of this prerequisite.
|
Set<OFValueType<T>> |
getValues()
Get valid/possible values for this prerequisite match.
|
boolean |
isSatisfied(Match match)
Returns true if this prerequisite is satisfied by the given match object.
|
@SafeVarargs public Prerequisite(MatchField<T> field, OFValueType<T>... values)
public boolean isSatisfied(Match match)
match
- Match objectpublic Set<OFValueType<T>> getValues()
public MatchField<T> getMatchField()
Copyright © 2017. All rights reserved.