Example usage for com.google.common.base Supplier interface-usage

List of usage examples for com.google.common.base Supplier interface-usage

Introduction

In this page you can find the example usage for com.google.common.base Supplier interface-usage.

Usage

From source file com.ibm.og.test.RequestManager.java

/**
 * A manager and supplier of requests. Simple implementations may provide no additional
 * functionality over a basic {@code Supplier<Request>}, while more sophisticated
 * implementations may vary requests over time, received responses, etc.
 * 
 * @since 1.0

From source file alexiil.node.core.ReturnNode.java

/** @author AlexIIL
 *
 * @param <V> The type to return */
public class ReturnNode<V> extends AbstractNode implements Supplier<V> {
    private final Class<V> clazz;
    private final Supplier<V> in;

From source file com.skcraft.launcher.DefaultLauncherSupplier.java

public class DefaultLauncherSupplier implements Supplier<Window> {

    private final Launcher launcher;

    public DefaultLauncherSupplier(Launcher launcher) {
        this.launcher = launcher;

From source file edu.uci.ics.jung.algorithms.generators.GraphGenerator.java

/**
 * An interface for algorithms that generate graphs.
 * @author Scott White
 */
public interface GraphGenerator<V, E> extends Supplier<Graph<V, E>> {
}

From source file com.opengamma.id.VersionedUniqueIdSupplier.java

/**
 * A supplier of unique identifiers with different version numbers.
 */
public class VersionedUniqueIdSupplier implements Supplier<UniqueId> {

    /**

From source file com.opengamma.id.ObjectIdSupplier.java

/**
 * A supplier of object identifiers.
 * <p>
 * An object identifier consists of a scheme and value.
 * This class creates object identifiers for a fixed scheme name, where each
 * value is an incrementing number. The values are created in a thread-safe way.

From source file com.opengamma.id.UniqueIdSupplier.java

/**
 * A supplier of unique identifiers.
 * <p>
 * A unique identifier consists of a scheme, value and version.
 * This class creates unique identifiers for a fixed scheme name, where each
 * value is an incrementing number. The values are created in a thread-safe way.

From source file com.opengamma.engine.depgraph.BuildFractionEstimate.java

/**
 * Estimates the percentage completion of the graph build.
 */
/* package */final class BuildFractionEstimate implements Supplier<Double> {

    private static final Logger s_logger = LoggerFactory.getLogger(BuildFractionEstimate.class);

From source file org.onos.yangtools.binding.data.codec.impl.NodeContextSupplier.java

/**
 * Type capture of an entity producing NodeCodecContexts.
 */
interface NodeContextSupplier extends Supplier<NodeCodecContext<?>> {
    @Override
    @Nonnull

From source file org.opendaylight.yangtools.binding.data.codec.impl.NodeContextSupplier.java

/**
 * Type capture of an entity producing NodeCodecContexts.
 */
interface NodeContextSupplier extends Supplier<NodeCodecContext<?>> {
    @Override
    @Nonnull