org.joo.libra.common.HasValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of joo-libra Show documentation
Show all versions of joo-libra Show documentation
Java Predicate with SQL-like syntax support
package org.joo.libra.common;
import org.joo.libra.PredicateContext;
/**
* Represents anything which can have a value
*
* @author griever
*
* @param
* the class type of the value
*/
public interface HasValue {
/**
* Get the value this object is holding using a given context
*
* @param context
* the context
* @return the value this object is currently holding
*/
public T getValue(final PredicateContext context);
}