net.sf.mmm.util.collection.base
Class AbstractSortedMapFactory

java.lang.Object
  extended by net.sf.mmm.util.collection.base.AbstractSortedMapFactory
All Implemented Interfaces:
MapFactory<SortedMap>, SortedMapFactory
Direct Known Subclasses:
TreeMapFactory

public abstract class AbstractSortedMapFactory
extends Object
implements SortedMapFactory

This is the abstract base implementation of the SortedMapFactory interface.

Since:
1.0.1
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)

Constructor Summary
AbstractSortedMapFactory()
          The constructor.
 
Method Summary
 SortedMap createGeneric()
          This method creates a new instance of the generic Map type <MAP>.
 SortedMap createGeneric(int capacity)
          This method creates a new instance of the generic Map type <MAP>.
 Class<SortedMap> getMapInterface()
          This method gets the interface of the Map managed by this factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.mmm.util.collection.api.SortedMapFactory
create, create
 
Methods inherited from interface net.sf.mmm.util.collection.api.MapFactory
getMapImplementation
 

Constructor Detail

AbstractSortedMapFactory

public AbstractSortedMapFactory()
The constructor.

Method Detail

getMapInterface

public Class<SortedMap> getMapInterface()
This method gets the interface of the Map managed by this factory.

Specified by:
getMapInterface in interface MapFactory<SortedMap>
Returns:
the Map interface.

createGeneric

public SortedMap createGeneric()
This method creates a new instance of the generic Map type <MAP>.

Specified by:
createGeneric in interface MapFactory<SortedMap>
Returns:
the new Map instance.

createGeneric

public SortedMap createGeneric(int capacity)
This method creates a new instance of the generic Map type <MAP>.

Specified by:
createGeneric in interface MapFactory<SortedMap>
Parameters:
capacity - is the capacity of the map to create.
Returns:
the new Map instance.


Copyright © 2001-2010 mmm-Team. All Rights Reserved.