org.omnaest.utils.structure.element.factory.concrete
Class LinkedHashSetFactory<E>
java.lang.Object
org.omnaest.utils.structure.element.factory.concrete.LinkedHashSetFactory<E>
- Type Parameters:
E -
- All Implemented Interfaces:
- Serializable, Factory<Set<E>>, FactoryTypeAware<Set<E>>
public class LinkedHashSetFactory<E>
- extends Object
- implements FactoryTypeAware<Set<E>>, Serializable
FactoryTypeAware creating new instances of LinkedHashSet
- Author:
- Omnaest
- See Also:
- Serialized Form
LinkedHashSetFactory
public LinkedHashSetFactory()
newInstance
public Set<E> newInstance()
- Description copied from interface:
Factory
- Factory method for an element
- Specified by:
newInstance in interface Factory<Set<E>>
- Returns:
getInstanceType
public Class<?> getInstanceType()
- Description copied from interface:
FactoryTypeAware
- Returns the
Class type the Factory.newInstance() method produces
- Specified by:
getInstanceType in interface FactoryTypeAware<Set<E>>
- Returns:
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013. All Rights Reserved.