Module iu.util
Package edu.iu

Interface UnsafeSupplier<T>

Type Parameters:
T - Result type
All Known Implementing Classes:
IuUtilityTaskController
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface UnsafeSupplier<T>
Equivalent to Supplier, but may throw any exception.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Gets a result using unsafe code.
  • Method Details

    • get

      T get() throws Throwable
      Gets a result using unsafe code.
      Returns:
      The result.
      Throws:
      Throwable - If thrown by the unsafe code.