Modifier and Type | Field and Description |
---|---|
private NodeAttribute<?> |
attribute |
private Object |
value |
Constructor and Description |
---|
HasAttributeFilter(NodeAttribute<?> attribute)
Create a filter that finds nodes that has value for the given
attribute.
|
HasAttributeFilter(NodeAttribute<?> attribute,
Object value)
Create a filter that finds nodes that has a specific value for the given
attribute.
|
private final NodeAttribute<?> attribute
private final Object value
public HasAttributeFilter(NodeAttribute<?> attribute)
attribute
- The attribute to checkpublic HasAttributeFilter(NodeAttribute<?> attribute, Object value)
attribute
- The attribute to checkvalue
- The value that must match