javolution.util.function.Supplier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javolution-core-java-msftbx Show documentation
Show all versions of javolution-core-java-msftbx Show documentation
Only the Java Core part of Javolution library, with slight modifications for use in MSFTBX.
/*
* Javolution - Java(TM) Solution for Real-Time and Embedded Systems
* Copyright (C) 2012 - Javolution (http://javolution.org/)
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software is
* freely granted, provided that this notice is preserved.
*/
package javolution.util.function;
/**
* A function which does not take any argument and returns instances
* of a particular class.
*
* Note: In future version this interface may derive from
* {@code Function}.
*
* @param The type of result this supplier returns.
*
* @author Jean-Marie Dautelle
* @version 6.0, July 21, 2013
*/
public interface Supplier {
/**
* Returns an object.
*/
T get();
}