Class ConnectedComponent
- java.lang.Object
-
- com.powsybl.iidm.network.components.AbstractConnectedComponent
-
- com.powsybl.iidm.network.components.ConnectedComponent
-
- All Implemented Interfaces:
Component
public class ConnectedComponent extends AbstractConnectedComponent
- Author:
- Mathieu Bague
-
-
Constructor Summary
Constructors Constructor Description ConnectedComponent(Network network, int num, int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<Bus>
getBuses()
Get buses in the component.Stream<Bus>
getBusStream()
Get buses in the component.Network
getNetwork()
int
getNum()
Get the number of the component.int
getSize()
Get the number of bus in the component.-
Methods inherited from class com.powsybl.iidm.network.components.AbstractConnectedComponent
getBusPredicate
-
-
-
-
Constructor Detail
-
ConnectedComponent
public ConnectedComponent(Network network, int num, int size)
-
-
Method Detail
-
getNetwork
public Network getNetwork()
-
getNum
public int getNum()
Description copied from interface:Component
Get the number of the component.The biggest one has the number zero and the smallest has the highest number.
-
getSize
public int getSize()
Description copied from interface:Component
Get the number of bus in the component.
-
getBuses
public Iterable<Bus> getBuses()
Description copied from interface:Component
Get buses in the component.
-
getBusStream
public Stream<Bus> getBusStream()
Description copied from interface:Component
Get buses in the component.- Specified by:
getBusStream
in interfaceComponent
-
-