Class MultiValueMap.ReflectionFactory<T extends Collection<?>>
java.lang.Object
org.apache.commons.collections4.map.MultiValueMap.ReflectionFactory<T>
- Type Parameters:
T- the type of results supplied by this supplier.
- All Implemented Interfaces:
Serializable,Supplier<T>,Factory<T>
- Enclosing class:
MultiValueMap<K,V>
private static final class MultiValueMap.ReflectionFactory<T extends Collection<?>>
extends Object
implements Factory<T>, Serializable
Inner class that provides a simple reflection factory.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longSerialization version -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a new object.private voidDeserializes an instance from an ObjectInputStream.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version- See Also:
-
clazz
-
-
Constructor Details
-
ReflectionFactory
-
-
Method Details
-
create
Description copied from interface:FactoryCreate a new object.- Specified by:
createin interfaceFactory<T extends Collection<?>>- Returns:
- a new object
-
readObject
Deserializes an instance from an ObjectInputStream.- Parameters:
in- The source ObjectInputStream.- Throws:
IOException- Any of the usual Input/Output related exceptions.ClassNotFoundException- A class of a serialized object cannot be found.
-