if (b == false) { }
    public boolean equals(Object obj) {        if (obj instanceof TrainModel) {            TrainModel test = (TrainModel)obj;            boolean b = this.cargoBundleNumber == test.cargoBundleNumber &&                this.engineType == test.engineType &&                Arrays.equals(this.wagonTypes, test.wagonTypes) &&		(scheduleIterator != null ?		this.scheduleIterator.equals(test.scheduleIterator) :		test.scheduleIterator == null) &&		(trainMotionModel == null ? test.trainMotionModel == null :		trainMotionModel.equals(test.trainMotionModel)) &&		(stateLastChanged == null ? test.stateLastChanged == null :		stateLastChanged.equals(test.stateLastChanged)) &&		state == test.state &&		isBlocked == test.isBlocked &&		priority == test.priority;            return b;        } else {            return false;        }    }