public class EqualsTransformer extends Object implements FunctionTransformer
value
Constructor and Description |
---|
EqualsTransformer() |
EqualsTransformer(Object value) |
Modifier and Type | Method and Description |
---|---|
Object |
getValue()
Value to compare the input with
|
boolean |
isStrict()
Strict true means ==, else .equals() is applied on the input
|
void |
setStrict(boolean strict)
Strict true means ==, else .equals() is applied on the input
|
void |
setValue(Object value)
Value to compare the input with
|
Object |
transform(Object input) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
public EqualsTransformer()
public EqualsTransformer(Object value)
public Object transform(Object input)
transform
in interface org.apache.commons.collections.Transformer
public Object getValue()
public void setValue(Object value)
public boolean isStrict()
public void setStrict(boolean strict)
Copyright © 2018. All rights reserved.