Package 

Class SupplierUtilsKt

    • Method Summary

      Modifier and Type Method Description
      final static <T extends Any> Supplier<T> asSupplier(Function0<T> $self) Converts a function type into a supplier.
      final static <T extends Any> Array<Supplier<T>> asSuppliers(Array<out Function0<T>> $self) Converts an array of function types into an array of suppliers.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • asSupplier

         final static <T extends Any> Supplier<T> asSupplier(Function0<T> $self)

        Converts a function type into a supplier.

      • asSuppliers

         final static <T extends Any> Array<Supplier<T>> asSuppliers(Array<out Function0<T>> $self)

        Converts an array of function types into an array of suppliers.