public class ZeroZBranchNetUtil
extends java.lang.Object
Constructor and Description |
---|
ZeroZBranchNetUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
findBranchIdDiffs(java.lang.String originalBranchId,
java.lang.String changedBranchId)
from the pattern fromId->toId(cirNo), find the different id parts of the original branch id as
compared with the changed branch id.
|
static java.util.List<BaseAclfBus<?,?>> |
findZeroZPathBuses(BaseAclfBus<?,?> bus)
This method is used to find all the buses that are connected to the
starting bus through zero-Z branches.
|
public static java.util.List<BaseAclfBus<?,?>> findZeroZPathBuses(BaseAclfBus<?,?> bus)
bus
- The starting buspublic static java.lang.String[] findBranchIdDiffs(java.lang.String originalBranchId, java.lang.String changedBranchId)
originalBranchId
- the original branch id, for example, "Bus13->Bus18(1)"changedBranchId
- the new branch id, for example, "Bus13->Bus14(2)"