Class FilesystemLoadSaveManager.FileIterable

  • All Implemented Interfaces:
    Iterable<net.shibboleth.utilities.java.support.collection.Pair<String,​T>>
    Enclosing class:
    FilesystemLoadSaveManager<T extends XMLObject>

    private class FilesystemLoadSaveManager.FileIterable
    extends Object
    implements Iterable<net.shibboleth.utilities.java.support.collection.Pair<String,​T>>
    Iterable which provides lazy iteration over the managed files.
    • Field Detail

      • keys

        private Set<String> keys
        Snapshot of filesystem keys at time of construction.
    • Constructor Detail

      • FileIterable

        public FileIterable​(@Nonnull
                            Collection<String> filenames)
        Constructor.
        Parameters:
        filenames - Snapshot of filesystem keys at time of construction
    • Method Detail

      • iterator

        public Iterator<net.shibboleth.utilities.java.support.collection.Pair<String,​T>> iterator()
        Specified by:
        iterator in interface Iterable<net.shibboleth.utilities.java.support.collection.Pair<String,​T extends XMLObject>>