All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.joo.libra.common.HasValue Maven / Gradle / Ivy

There is a newer version: 2.1.2
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy