from_func


Description:

public static Supplier<G> from_func<G> (owned SupplyFunc<G> func)

Creates a new supplier from the given supply function.

Parameters:

func

a supply function

Returns:

a new supplier from the given supply function