Interface ObjectPool.ObjectSupplier<T>

Type Parameters:
T - The object type.
Enclosing interface:
ObjectPool<O>
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 ObjectPool.ObjectSupplier<T>
Supplies a leased object.
Author:
Christian Kohlschütter
  • Method Summary

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

    • get

      T get()
      Gets a result.
      Returns:
      a result