Predicate<T>
public class HasPropertyRule<T extends Component> extends Object implements Predicate<T>
Constructor | Description |
---|---|
HasPropertyRule(Property property) |
Constructs a new instance with the specified property.
|
HasPropertyRule(Property property,
boolean matchEquals) |
Constructs a new instance with the specified property.
|
public HasPropertyRule(Property property)
property
- a property instance to check forpublic HasPropertyRule(Property property, boolean matchEquals)
property
- the property to matchmatchEquals
- if true, matches must contain an identical property (as indicated by
Property.equals()