public interface AbstractEntryContainer extends Iterable<AbstractEntry>
| Modifier and Type | Method and Description |
|---|---|
void |
addEntry(AbstractEntry entry)
Adds an entry
|
void |
addEntry(int index,
AbstractEntry entry)
Adds an entry at an index
|
boolean |
allowsEntryType(AbstractEntry entry)
Determines if an entry type is allowed in this configuration File
|
List<AbstractEntry> |
getEntries()
Gets the entries
|
AbstractEntry |
getEntry(int index)
Gets an entry at a given index
|
int |
indexOfEntry(AbstractEntry entry)
Gets the index of an AbstractEntry
|
Iterator<AbstractEntry> |
iterator()
Gets an Iterator for the AbstractEntries
|
void |
removeEntry(AbstractEntry entry)
Removes an entry
|
forEach, spliteratorIterator<AbstractEntry> iterator()
iterator in interface Iterable<AbstractEntry>List<AbstractEntry> getEntries()
boolean allowsEntryType(AbstractEntry entry)
entry - entry to examinevoid addEntry(AbstractEntry entry)
entry - entry to addvoid addEntry(int index,
AbstractEntry entry)
index - indexentry - entry to addAbstractEntry getEntry(int index)
index - index to examineint indexOfEntry(AbstractEntry entry)
entry - entry to look forvoid removeEntry(AbstractEntry entry)
entry - entry to remove? Copyright 2013 BMC Software, Inc.