|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gridsystems.nextgrid.api.builder.Cache<T>
T
- The type of objects stored in the cachepublic class Cache<T>
Map from process URIs to OWLIndividuals containing input and output binding information. Each URI can be associated to multiple individuals.
This map is used by OwlsBuilder
for constructing the data flow in
parsed workflows.
Nested Class Summary | |
---|---|
static class |
Cache.CacheEntry<T>
Equivalent to Map.Entry, but this one can be instantiated. |
Constructor Summary | |
---|---|
Cache()
Creates a new instance. |
Method Summary | |
---|---|
java.util.Set<Cache.CacheEntry<T>> |
entrySet()
Gets a set of entries, each containing the mapping for a single individual. |
void |
put(java.net.URI key,
T item)
Caches an instance, mapping it to a specified URI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Cache()
Method Detail |
---|
public void put(java.net.URI key, T item)
key
- The URI to map toitem
- The individual to cachepublic java.util.Set<Cache.CacheEntry<T>> entrySet()
Unlike the Collection method, the returned set is not linked to the internal map. Changes in any of them have no side effect on the other.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |