public class DefaultNetworkPredicate extends java.lang.Object implements NetworkPredicate
NetworkPredicate
that keeps everything.Constructor and Description |
---|
DefaultNetworkPredicate() |
Modifier and Type | Method and Description |
---|---|
boolean |
test(Substation substation)
Return true if the given
Substation should be kept in the network, false otherwise |
boolean |
test(VoltageLevel voltageLevel)
Return true if the given
VoltageLevel should be kept in the network, false otherwise |
public boolean test(Substation substation)
NetworkPredicate
Substation
should be kept in the network, false otherwisetest
in interface NetworkPredicate
public boolean test(VoltageLevel voltageLevel)
NetworkPredicate
VoltageLevel
should be kept in the network, false otherwisetest
in interface NetworkPredicate