public class GroupList extends GroupListI<Group>
Constructor and Description |
---|
GroupList(PALists lists,
GroupIndex busgrp)
Create an anonymous GroupList
|
GroupList(PALists model,
int[] keys,
GroupIndex busgrp)
Create an anonymous GroupList with a set of known keys
|
Modifier and Type | Method and Description |
---|---|
Group |
get(int index)
Return the group at the given index in the list
|
java.util.Set<ColumnMeta> |
getColTypes() |
<R> R |
getColumnData(ColumnMeta col) |
ListMetaType |
getListMeta() |
boolean |
objEquals(int ndx,
java.lang.Object obj) |
int |
objHash(int ndx) |
getBuses, getByBus, getGenerators, getLines, getLoads, getPhaseShifters, getSeriesCapacitors, getSeriesReactors, getShuntCapacitors, getShuntReactors, getSVCs, getSwitches, getTransformers, getTwoTermDCLines, translateBusIndexes
getByID, getByKey, getID, getID, getIndex, getIndexesFromKeys, getKey, getKeys, getName, getName, reset, setID, setID, setName, setName
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
CalcListHash, getByID, getByKey, getID, getID, getIndex, getIndexes, getIndexesFromIDs, getIndexesFromKeys, getKey, getKeys, getName, getName, reset, setID, setID, setName, setName, toArray
public GroupList(PALists lists, GroupIndex busgrp)
lists
- Set of lists used to form groups and provide equipment sublistsbusgrp
- Map from bus to grouppublic GroupList(PALists model, int[] keys, GroupIndex busgrp)
model
- current power modelkeys
- Set of keys to assign each groupbusgrp
- Map from bus to grouppublic Group get(int index)
public ListMetaType getListMeta()
public boolean objEquals(int ndx, java.lang.Object obj)
public int objHash(int ndx)
public java.util.Set<ColumnMeta> getColTypes()
public <R> R getColumnData(ColumnMeta col)