Package org.opensaml.core.xml.persist
Class FilesystemLoadSaveManager.FileIterator
- java.lang.Object
-
- org.opensaml.core.xml.persist.FilesystemLoadSaveManager.FileIterator
-
- All Implemented Interfaces:
Iterator<net.shibboleth.utilities.java.support.collection.Pair<String,T>>
- Enclosing class:
- FilesystemLoadSaveManager<T extends XMLObject>
private class FilesystemLoadSaveManager.FileIterator extends Object implements Iterator<net.shibboleth.utilities.java.support.collection.Pair<String,T>>
Iterator which provides lazy iteration over the managed files.
-
-
Constructor Summary
Constructors Constructor Description FileIterator(Collection<String> filenames)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private net.shibboleth.utilities.java.support.collection.Pair<String,T>getNext()Internal support to get the next item for iteration.booleanhasNext()net.shibboleth.utilities.java.support.collection.Pair<String,T>next()voidremove()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
FileIterator
public FileIterator(@Nonnull Collection<String> filenames)Constructor.- Parameters:
filenames- Snapshot of filesystem keys at time of construction
-
-