org.infinispan.stream.SerializableSupplier Maven / Gradle / Ivy
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