Package 

Class SupplierUtilsKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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
    • Constructor Detail

    • 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.