hasLock == tmm.hasLock && trainPath == null ? tmm.trainPath == null : trainPath.equals(tmm.trainPath) && pathToDestination == null ? tmm.pathToDestination == null : pathToDestination.equals(tmm.pathToDestination);
(trainPath == null ? tmm.trainPath == null : trainPath.equals(tmm.trainPath)) && (pathToDestination == null ? tmm.pathToDestination == null : pathToDestination.equals(tmm.pathToDestination));
    public boolean equals(Object o) {	if (o == null || !(o instanceof TrainMotionModel2))	    return false;	TrainMotionModel2 tmm = (TrainMotionModel2) o;	return t0 == tmm.t0 &&	    speed == tmm.speed &&	    hasLock == tmm.hasLock &&	    trainPath == null ? tmm.trainPath == null :	    trainPath.equals(tmm.trainPath) &&	    pathToDestination == null ? tmm.pathToDestination == null :	    pathToDestination.equals(tmm.pathToDestination);    }