Package com.powsybl.iidm.mergingview
Class ComponentAdapter
- java.lang.Object
-
- com.powsybl.iidm.mergingview.ComponentAdapter
-
-
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.protected I
getDelegate()
protected com.powsybl.iidm.mergingview.MergingViewIndex
getIndex()
int
getNum()
Get the number of the component.int
getSize()
Get the number of bus in the component.
-
-
-
Method Detail
-
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
-
getDelegate
protected I getDelegate()
-
getIndex
protected com.powsybl.iidm.mergingview.MergingViewIndex getIndex()
-
-