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

org.infinispan.stream.SerializableSupplier Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
package org.infinispan.stream;

import java.io.Serializable;
import java.util.function.Supplier;

/**
 * This is a simple Supplier that is also Serializable.  This is useful to not require users to cast their Supplier
 * when a Serializable version is required.  This allows lambdas to be placed directly for easy convenience.
 * @param  The type returned from the supplier
 */
@FunctionalInterface
public interface SerializableSupplier extends Supplier, Serializable {

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy