dk.brics.automaton

Class StatePair

public class StatePair extends Object

Pair of states.

Author: Anders Møller <amoeller@brics.dk>

Constructor Summary
StatePair(State s1, State s2)
Constructs a new state pair.
Method Summary
StategetFirstState()
Returns first component of this pair.
StategetSecondState()
Returns second component of this pair.

Constructor Detail

StatePair

public StatePair(State s1, State s2)
Constructs a new state pair.

Parameters: s1 first state s2 second state

Method Detail

getFirstState

public State getFirstState()
Returns first component of this pair.

Returns: first state

getSecondState

public State getSecondState()
Returns second component of this pair.

Returns: second state

Copyright © 2001-2008 Anders Møller.