Class StateVariable$


  • public class StateVariable$
    extends java.lang.Object
    • Field Detail

      • MODULE$

        public static final StateVariable$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • StateVariable$

        public StateVariable$()
    • Method Detail

      • createCurrentStates

        public 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 boolean defaultMatcher​(DemandState demand,
                                      CurrentState current)
        The default matcher for state variables tests for an exact match

        Parameters:
        demand - the demand state
        current - the current state
        Returns:
        true if the demand and current states match (in this case, are equal)
      • createCurrentStates

        public CurrentStates createCurrentStates​(scala.collection.immutable.Seq<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
      • createCurrentStates

        public 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