Constructor and Description |
---|
ConstantFilter()
Create filter instance.
|
ConstantFilter(boolean value)
Create filter instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Is equal?
|
boolean |
filter(T obj)
Test if an object passes the filter.
|
int |
hashCode()
Hash code.
|
boolean |
isValue()
Get the value.
|
void |
setValue(boolean value)
Set the value.
|
public ConstantFilter()
public ConstantFilter(boolean value)
public boolean filter(T obj)
public boolean isValue()
public void setValue(boolean value)
value
- The value to set.Copyright © 2015. All Rights Reserved.