|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjigcell.compare.data.DataGeneratorMap
public class DataGeneratorMap
Manages a map of data generators.
This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.
| Nested Class Summary | |
|---|---|
protected static class |
DataGeneratorMap.DataGeneratorMapDelegate
Persists the mapping by using a series of put statements. |
| Nested classes/interfaces inherited from interface jigcell.compare.data.IDataGeneratorCollection |
|---|
IDataGeneratorCollection.Key |
| Field Summary | |
|---|---|
protected java.util.Map |
map
Internal Map[Key,IDataGenerator] implementation |
| Constructor Summary | |
|---|---|
DataGeneratorMap()
Creates a new map between names and data generators. |
|
DataGeneratorMap(int size,
float load)
Creates a new map between names and data generators. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
static IDataGeneratorMap |
createMap(java.lang.Object map)
Converts a map to a map of data generators. |
IDataGenerator |
get(IDataGeneratorCollection.Key key)
The generator associated with a particular key or null if there is no such mapping. |
java.util.Iterator |
iterator()
An iterator over the entries of this map. |
IDataGenerator |
put(IDataGeneratorCollection.Key key,
IDataGenerator generator)
Adds a mapping between a key and generator. |
IDataGenerator |
put(java.lang.String name,
java.lang.String id,
IDataGenerator generator)
Adds a mapping between a name, id, and generator. |
void |
putAll(java.util.Map map)
Adds all the entries from the map to this map. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Map map
| Constructor Detail |
|---|
public DataGeneratorMap()
public DataGeneratorMap(int size,
float load)
size - Initial sizeload - Load factor| Method Detail |
|---|
public static IDataGeneratorMap createMap(java.lang.Object map)
map - Mappublic java.lang.Object clone()
clone in interface IDataGeneratorCollectionclone in class java.lang.Objectpublic IDataGenerator get(IDataGeneratorCollection.Key key)
get in interface IDataGeneratorMapkey - Keypublic java.util.Iterator iterator()
iterator in interface IDataGeneratorMap
public IDataGenerator put(IDataGeneratorCollection.Key key,
IDataGenerator generator)
put in interface IDataGeneratorMapkey - Keygenerator - Generator
public IDataGenerator put(java.lang.String name,
java.lang.String id,
IDataGenerator generator)
put in interface IDataGeneratorMapname - Nameid - Idgenerator - Generatorpublic void putAll(java.util.Map map)
putAll in interface IDataGeneratorMapmap - Mappublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||