public class EDIFPortInstList extends ArrayList<EDIFPortInst>
EDIFNet
and EDIFCellInst
classes.
Maintains a sorted list to allow for a O(log n) retrieval lookup by name. Does not allow
duplicate entries.Modifier and Type | Field and Description |
---|---|
static EDIFPortInstList |
EMPTY |
Constructor and Description |
---|
EDIFPortInstList() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(EDIFPortInst e) |
EDIFPortInst |
get(EDIFCellInst i,
String name) |
EDIFPortInst |
remove(EDIFCellInst inst,
String portInstName) |
EDIFPortInst |
remove(EDIFPortInst e) |
add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
public static final EDIFPortInstList EMPTY
public boolean add(EDIFPortInst e)
add
in interface Collection<EDIFPortInst>
add
in interface List<EDIFPortInst>
add
in class ArrayList<EDIFPortInst>
public EDIFPortInst get(EDIFCellInst i, String name)
public EDIFPortInst remove(EDIFPortInst e)
public EDIFPortInst remove(EDIFCellInst inst, String portInstName)