public class CacheTransferSourceCollection extends Object implements Iterable<CacheTransferSource<? extends FeatureInput>>
Constructor and Description |
---|
CacheTransferSourceCollection() |
Modifier and Type | Method and Description |
---|---|
void |
add(CacheTransferSource<? extends FeatureInput> source)
Adds a source.
|
boolean |
contains(ChildCacheName name)
Whether a particular child-cache exists in the source?
|
Set<ChildCacheName> |
getAllCacheNames()
The names of all child-caches that are made available.
|
Iterator<CacheTransferSource<? extends FeatureInput>> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public void add(CacheTransferSource<? extends FeatureInput> source)
source
- the source to add.public boolean contains(ChildCacheName name)
name
- the name of the child-cache.public Iterator<CacheTransferSource<? extends FeatureInput>> iterator()
iterator
in interface Iterable<CacheTransferSource<? extends FeatureInput>>
public Set<ChildCacheName> getAllCacheNames()
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.