Class Functions.ArrayListCapacityCallable<T>

java.lang.Object
io.reactivex.rxjava3.internal.functions.Functions.ArrayListCapacityCallable<T>
All Implemented Interfaces:
Supplier<List<T>>
Enclosing class:
Functions

static final class Functions.ArrayListCapacityCallable<T> extends Object implements Supplier<List<T>>
  • Field Details

    • capacity

      final int capacity
  • Constructor Details

    • ArrayListCapacityCallable

      ArrayListCapacityCallable(int capacity)
  • Method Details

    • get

      public List<T> get()
      Description copied from interface: Supplier
      Produces a value or throws an exception.
      Specified by:
      get in interface Supplier<T>
      Returns:
      the value produced