public class IteratorMap extends Object
| Constructor and Description |
|---|
IteratorMap()
Create an instance that contains no iterator mappings initially.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public IteratorMap()
public Resource.Iterator get(Resource resource)
resource - resource to use for lookuppublic void put(Resource resource, Resource.Iterator iterator)
resource - resource to associate the iterator toiterator - iterator to associate to the resource; if null mapping is
removedCopyright © 2014 Quattor. All Rights Reserved.