|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quattor.pan.template.IteratorMap
public class IteratorMap
This class contains a map that holds the currently used iterators. The system hash code value of the resource is used as the key into the map. Only one iterator can be used for a given resource at a time.
| Constructor Summary | |
|---|---|
IteratorMap()
Create an instance that contains no iterator mappings initially. |
|
| Method Summary | |
|---|---|
Resource.Iterator |
get(Resource resource)
Lookup the iterator associated with the given resource. |
void |
put(Resource resource,
Resource.Iterator iterator)
Associate the iterator to the given resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IteratorMap()
| Method Detail |
|---|
public Resource.Iterator get(Resource resource)
resource - resource to use for lookup
public void put(Resource resource,
Resource.Iterator iterator)
resource - resource to associate the iterator toiterator - iterator to associate to the resource; if null mapping is
removed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||