Package io.quarkus.runtime.configuration
Class ArrayListFactory<T>
- java.lang.Object
-
- io.quarkus.runtime.configuration.ArrayListFactory<T>
-
- All Implemented Interfaces:
IntFunction<ArrayList<T>>
public final class ArrayListFactory<T> extends Object implements IntFunction<ArrayList<T>>
A helper class to produce a right-sized array list.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayList<T>
apply(int value)
static <T> ArrayListFactory<T>
getInstance()
-
-
-
Method Detail
-
apply
public ArrayList<T> apply(int value)
- Specified by:
apply
in interfaceIntFunction<T>
-
getInstance
public static <T> ArrayListFactory<T> getInstance()
-
-