|
TrueZIP Kernel 7.0-rc2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
E - The type of the entries.public interface EntryContainer<E extends Entry>
An iterable container for entries.
| Method Summary | |
|---|---|
E |
getEntry(String name)
Returns the entry for the given name or
null if no entry with this name exists in this container. |
int |
getSize()
Returns the number of entries in this container. |
Iterator<E> |
iterator()
Returns a new iterator over all entries in this container. |
| Method Detail |
|---|
int getSize()
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.
iterator in interface Iterable<E extends Entry>null iterator over all entries in this
container.
@CheckForNull
E getEntry(@NonNull
String name)
name or
null if no entry with this name exists in this container.
name - an entry name.
name or
null if no entry with this name exists in this container.
|
TrueZIP Kernel 7.0-rc2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||