Package csw.params.core.states
Class StateVariable
- java.lang.Object
-
- csw.params.core.states.StateVariable
-
public class StateVariable extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description StateVariable()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CurrentStates
createCurrentStates(CurrentState... states)
A Java helper method to create CurrentStatestatic CurrentStates
createCurrentStates(java.util.List<CurrentState> states)
A Java helper method to create CurrentStatestatic CurrentStates
createCurrentStates(scala.collection.Seq<CurrentState> states)
static boolean
defaultMatcher(DemandState demand, CurrentState current)
A Java helper method to create CurrentState
-
-
-
Method Detail
-
createCurrentStates
public static CurrentStates createCurrentStates(CurrentState... states)
A Java helper method to create CurrentState- Parameters:
states
- one or more CurrentState objects- Returns:
- a new CurrentStates object containing all the given CurrentState objects
-
defaultMatcher
public static boolean defaultMatcher(DemandState demand, CurrentState current)
A Java helper method to create CurrentState- Parameters:
states
- one or more CurrentState objectsdemand
- (undocumented)current
- (undocumented)- Returns:
- a new CurrentStates object containing all the given CurrentState objects
-
createCurrentStates
public static CurrentStates createCurrentStates(scala.collection.Seq<CurrentState> states)
-
createCurrentStates
public static CurrentStates createCurrentStates(java.util.List<CurrentState> states)
A Java helper method to create CurrentState- Parameters:
states
- one or more CurrentState objects- Returns:
- a new CurrentStates object containing all the given CurrentState objects
-
-