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