org.omnaest.utils.structure.element.factory.concrete
Class LinkedHashSetFactory<E>

java.lang.Object
  extended by 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

Constructor Summary
LinkedHashSetFactory()
           
 
Method Summary
 Class<?> getInstanceType()
          Returns the Class type the Factory.newInstance() method produces
 Set<E> newInstance()
          Factory method for an element
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LinkedHashSetFactory

public LinkedHashSetFactory()
Method Detail

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.