public boolean equals(Object object)
    {
        try
        {
            MealyTransition t = (MealyTransition) object;
            return super.equals(t) && getLabel().equals(t.getLabel()) && getOutput().equals(t.getOutput());
        }
        catch(ClassCastException e)
        {
            return false;
        }
    }