Interface NullCoalescing.NullChecker<T>

Type Parameters:
T - The type of the value returned by the operation.
Enclosing class:
NullCoalescing
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 static interface NullCoalescing.NullChecker<T>
Functional interface for null-check operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Executes the operation and returns its result.
  • Method Details

    • get

      T get() throws Exception
      Executes the operation and returns its result.
      Returns:
      The result of the operation.
      Throws:
      Exception - If an error occurs during the operation.