|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMapFactory
An factory for creating maps.
Field Summary | |
---|---|
static IMapFactory |
HASH_MAP_FACTORY
A map factory that creates hash maps. |
static IMapFactory |
LINKED_HASH_MAP_FACTORY
A map factory that creates linked hash maps. |
static IMapFactory |
TREE_MAP_FACTORY
A map factory that creates tree maps. |
Method Summary | |
---|---|
java.util.Map |
createEmptyMap(int capacity)
Create a new, empty map that is optimized for the argument number of entries. |
java.util.Map |
createMapCopy(java.util.Map map)
Create a new map with the same key / value pairs as the argument map. |
Field Detail |
---|
static final IMapFactory HASH_MAP_FACTORY
static final IMapFactory LINKED_HASH_MAP_FACTORY
static final IMapFactory TREE_MAP_FACTORY
Method Detail |
---|
java.util.Map createEmptyMap(int capacity)
java.util.Map createMapCopy(java.util.Map map)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |