E
- the type of the entries.public interface InputService<E extends Entry> extends EntryContainer<E>
OutputService
Modifier and Type | Method and Description |
---|---|
InputSocket<? extends E> |
getInputSocket(String name)
Returns an input socket for reading from the entry with the given name.
|
Iterator<E> |
iterator()
Returns a new iterator for all entries in this container.
|
getEntry, getSize
forEach, spliterator
InputSocket<? extends E> getInputSocket(String name)
name
- an entry name
.Iterator<E> iterator()
First, the iteration must be consistent: Multiple iterators must iterate the same entries in the same order again unless the set of entries has changed.
Next, the iteration should also reflect the natural order of the entries in this container. For example, if this container represents an archive file, the iteration should reflect the natural order of the entries in the archive file.
The iterator returned by this method must be unmodifiable.
Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.