T
- ACBranchExt or subclass of list itemspublic class ACBranchExtList<T extends ACBranchExtList.ACBranchExt>
extends java.util.AbstractList<T>
Modifier and Type | Class and Description |
---|---|
static class |
ACBranchExtList.ACBranchExt |
Constructor and Description |
---|
ACBranchExtList(ACBranchExtList<? extends ACBranchExtList.ACBranchExt> copy) |
ACBranchExtList(ACBranchListIfc<? extends ACBranch> list) |
Modifier and Type | Method and Description |
---|---|
T |
get(int index) |
ACBranch |
getBranch(int ndx) |
ACBranchListIfc<? extends ACBranch> |
getBranches() |
Complex |
getY(int ndx)
Return branch admittance on system (100MVA) base
|
static <T extends ACBranchExtList.ACBranchExt> |
LoadExtension(java.util.Collection<? extends ACBranchListIfc<? extends ACBranch>> branch_lists)
Create a set of extended branch lists
|
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
public ACBranchExtList(ACBranchListIfc<? extends ACBranch> list) throws PAModelException
PAModelException
public ACBranchExtList(ACBranchExtList<? extends ACBranchExtList.ACBranchExt> copy)
public Complex getY(int ndx)
public ACBranch getBranch(int ndx)
public ACBranchListIfc<? extends ACBranch> getBranches()
public static <T extends ACBranchExtList.ACBranchExt> java.util.Set<ACBranchExtList<T>> LoadExtension(java.util.Collection<? extends ACBranchListIfc<? extends ACBranch>> branch_lists) throws PAModelException
branch_lists
- Collection of branch lists (can be from PAModel.getACBranches())bri
- Bus references to differentiate single bus versus topological (single) busPAModelException
public T get(int index)
get
in interface java.util.List<T extends ACBranchExtList.ACBranchExt>
get
in class java.util.AbstractList<T extends ACBranchExtList.ACBranchExt>
public int size()
size
in interface java.util.Collection<T extends ACBranchExtList.ACBranchExt>
size
in interface java.util.List<T extends ACBranchExtList.ACBranchExt>
size
in class java.util.AbstractCollection<T extends ACBranchExtList.ACBranchExt>