Package com.powsybl.openloadflow.network
Class ElementState<T extends LfElement>
java.lang.Object
com.powsybl.openloadflow.network.ElementState<T>
- Direct Known Subclasses:
BranchState
,BusDcState
,HvdcState
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
restore()
static <T extends LfElement,
U extends ElementState<T>>
voidrestore
(Collection<U> states) static <T extends LfElement,
U extends ElementState<T>>
List<U>save
(Collection<T> elements, Function<T, U> save)
-
Field Details
-
element
-
disabled
protected final boolean disabled
-
-
Constructor Details
-
ElementState
-
-
Method Details
-
restore
public void restore() -
save
public static <T extends LfElement,U extends ElementState<T>> List<U> save(Collection<T> elements, Function<T, U> save) -
restore
-