|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjigcell.compare.data.ResultSetMap
public class ResultSetMap
Manages a map of results.
This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.
| Nested Class Summary | |
|---|---|
protected static class |
ResultSetMap.ResultSetMapDelegate
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,IDataElement] implementation |
| Constructor Summary | |
|---|---|
ResultSetMap()
Creates a new map between names and results. |
|
ResultSetMap(int size,
float load)
Creates a new map between names and results. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
static IResultSetMap |
createMap(java.lang.Object map)
Converts a collection to a map of results. |
IDataElement |
get(IDataGeneratorCollection.Key key)
The result 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. |
java.util.Set |
keySet()
All of the keys in this map. |
IDataElement |
put(IDataGeneratorCollection.Key key,
IDataElement result)
Adds a mapping between a key and result. |
IDataElement |
put(IDataGeneratorCollection.Key key,
java.lang.String result)
Adds a mapping between a key and result. |
IDataElement |
put(java.lang.String name,
java.lang.String id,
IDataElement result)
Adds a mapping between a name, id, and result. |
IDataElement |
put(java.lang.String name,
java.lang.String id,
java.lang.String result)
Adds a mapping between a name, id, and result. |
void |
putAll(java.util.Map map)
Adds all the entries from the map to this map. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Map map
| Constructor Detail |
|---|
public ResultSetMap()
public ResultSetMap(int size,
float load)
size - Initial sizeload - Load factor| Method Detail |
|---|
public static IResultSetMap createMap(java.lang.Object map)
map - Mappublic java.lang.Object clone()
clone in interface IDataGeneratorCollectionclone in class java.lang.Objectpublic IDataElement get(IDataGeneratorCollection.Key key)
get in interface IResultSetMapkey - Keypublic java.util.Iterator iterator()
iterator in interface IResultSetMappublic java.util.Set keySet()
keySet in interface IResultSetMap
public IDataElement put(IDataGeneratorCollection.Key key,
IDataElement result)
put in interface IResultSetMapkey - Keyresult - Generator result
public IDataElement put(IDataGeneratorCollection.Key key,
java.lang.String result)
put in interface IResultSetMapkey - Keyresult - Generator result
public IDataElement put(java.lang.String name,
java.lang.String id,
IDataElement result)
put in interface IResultSetMapname - Nameid - Idresult - Generator result
public IDataElement put(java.lang.String name,
java.lang.String id,
java.lang.String result)
put in interface IResultSetMapname - Nameid - Idresult - Generator resultpublic void putAll(java.util.Map map)
putAll in interface IResultSetMapmap - Map
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||