nyla.solutions.global.patterns.expression.TrueFalseBooleanExpression Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nyla.solutions.global Show documentation
Show all versions of nyla.solutions.global Show documentation
Nyla Solutions Global Java API provides support for basic application
utilities (application configuration, data encryption, debugger and text
processing).
The newest version!
package nyla.solutions.global.patterns.expression;
/**
* @author Gregory Green
*
*/
public class TrueFalseBooleanExpression implements BooleanExpression
{
/**
*
*/
public Boolean execute(T obj)
{
return value;
}//---------------------------------------------
/**
* @param value the value to set
*/
public void setBoolean(boolean value)
{
this.value = value;
}//---------------------------------------------
private boolean value = false;
}