Class HashSetExternalizer.CapacityFactory<T>
- java.lang.Object
-
- org.wildfly.clustering.marshalling.spi.util.HashSetExternalizer.CapacityFactory<T>
-
- Type Parameters:
T- the map or collection type.
- All Implemented Interfaces:
Function<Integer,T>,IntFunction<T>
- Enclosing class:
- HashSetExternalizer<T extends Set<Object>>
public static class HashSetExternalizer.CapacityFactory<T> extends Object implements Function<Integer,T>, IntFunction<T>
Creates a hash table based map or collection with an appropriate capacity given an initial size.
-
-
Constructor Summary
Constructors Constructor Description CapacityFactory(IntFunction<T> factory)
-