本文整理汇总了Java中org.roboguice.shaded.goole.common.base.Objects.equal方法的典型用法代码示例。如果您正苦于以下问题:Java Objects.equal方法的具体用法?Java Objects.equal怎么用?Java Objects.equal使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.roboguice.shaded.goole.common.base.Objects
的用法示例。
在下文中一共展示了Objects.equal方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: equals
import org.roboguice.shaded.goole.common.base.Objects; //导入方法依赖的package包/类
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
StationMeasurements measurement = (StationMeasurements) o;
return Objects.equal(station, measurement.station) &&
Objects.equal(levelTimestamp, measurement.levelTimestamp) &&
Objects.equal(level, measurement.level) &&
Objects.equal(mw, measurement.mw) &&
Objects.equal(mhw, measurement.mhw) &&
Objects.equal(mnw, measurement.mnw) &&
Objects.equal(mtnw, measurement.mtnw) &&
Objects.equal(mthw, measurement.mthw) &&
Objects.equal(hthw, measurement.hthw) &&
Objects.equal(ntnw, measurement.ntnw);
}
示例2: equals
import org.roboguice.shaded.goole.common.base.Objects; //导入方法依赖的package包/类
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ChallengeData that = (ChallengeData) o;
return Objects.equal(challenge, that.challenge) &&
Objects.equal(sessionDataList, that.sessionDataList);
}
示例3: equals
import org.roboguice.shaded.goole.common.base.Objects; //导入方法依赖的package包/类
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Challenge challenge = (Challenge) o;
return Objects.equal(id, challenge.id) &&
Objects.equal(distanceInMeters, challenge.distanceInMeters) &&
Objects.equal(name, challenge.name) &&
Objects.equal(description, challenge.description) &&
Objects.equal(imageName, challenge.imageName) &&
Objects.equal(sessionIds, challenge.sessionIds);
}
示例4: equals
import org.roboguice.shaded.goole.common.base.Objects; //导入方法依赖的package包/类
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
RecordingResult that = (RecordingResult) o;
return Objects.equal(isRecordingDiscarded, that.isRecordingDiscarded) &&
Objects.equal(saveRecordingStatus, that.saveRecordingStatus);
}
示例5: equals
import org.roboguice.shaded.goole.common.base.Objects; //导入方法依赖的package包/类
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Account account = (Account) o;
return Objects.equal(name, account.name) &&
Objects.equal(imageUrl, account.imageUrl) &&
Objects.equal(email, account.email);
}
示例6: equals
import org.roboguice.shaded.goole.common.base.Objects; //导入方法依赖的package包/类
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
FieldUpdate that = (FieldUpdate) o;
return Objects.equal(epoch, that.epoch) &&
Objects.equal(seqNum, that.seqNum) &&
Objects.equal(field, that.field) &&
Objects.equal(activeGroup, that.activeGroup) &&
Objects.equal(isGameOver, that.isGameOver);
}
示例7: equals
import org.roboguice.shaded.goole.common.base.Objects; //导入方法依赖的package包/类
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Transformation that = (Transformation) o;
return Objects.equal(xTranslation, that.xTranslation) &&
Objects.equal(yTranslation, that.yTranslation) &&
Objects.equal(scale, that.scale);
}
示例8: equals
import org.roboguice.shaded.goole.common.base.Objects; //导入方法依赖的package包/类
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Face face = (Face) o;
return Objects.equal(reminderPeriod, face.reminderPeriod) &&
Objects.equal(name, face.name) &&
Objects.equal(reminderId, face.reminderId) &&
Objects.equal(lastReminderTrigger, face.lastReminderTrigger);
}
示例9: equals
import org.roboguice.shaded.goole.common.base.Objects; //导入方法依赖的package包/类
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
PhotoInfo info = (PhotoInfo) o;
return Objects.equal(face, info.face) &&
Objects.equal(photoFile, info.photoFile) &&
Objects.equal(creationDate, info.creationDate);
}
示例10: equals
import org.roboguice.shaded.goole.common.base.Objects; //导入方法依赖的package包/类
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ReminderPeriod that = (ReminderPeriod) o;
return Objects.equal(unitInSeconds, that.unitInSeconds) &&
Objects.equal(amount, that.amount);
}
示例11: equals
import org.roboguice.shaded.goole.common.base.Objects; //导入方法依赖的package包/类
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
VideoInfo videoInfo = (VideoInfo) o;
return Objects.equal(face, videoInfo.face) &&
Objects.equal(videoFile, videoInfo.videoFile) &&
Objects.equal(creationDate, videoInfo.creationDate);
}
示例12: equals
import org.roboguice.shaded.goole.common.base.Objects; //导入方法依赖的package包/类
@Override
public boolean equals(Object other) {
if (other == null || !(other instanceof MotionEvents)) return false;
MotionEvents events = (MotionEvents) other;
return Objects.equal(isLeftPunching, events.isLeftPunching)
&& Objects.equal(isRightPunching, events.isRightPunching)
&& Objects.equal(isBlocking, events.isBlocking);
}
示例13: equals
import org.roboguice.shaded.goole.common.base.Objects; //导入方法依赖的package包/类
@Override
public boolean equals(Object other) {
if (other == null || !(other instanceof Transformation)) return false;
Transformation transformation = (Transformation) other;
return Objects.equal(xTranslation, transformation.xTranslation)
&& Objects.equal(yTranslation, transformation.yTranslation)
&& Objects.equal(rotation, transformation.rotation)
&& Objects.equal(xScale, transformation.xScale)
&& Objects.equal(yScale, transformation.yScale)
&& Objects.equal(alpha, transformation.alpha);
}
示例14: equals
import org.roboguice.shaded.goole.common.base.Objects; //导入方法依赖的package包/类
@Override
public boolean equals(Object other) {
if (other == null || !(other instanceof WayPoint)) return false;
if (other == this) return true;
WayPoint wayPoint = (WayPoint) other;
return Objects.equal(lat, wayPoint.lat)
&& Objects.equal(lng, wayPoint.lng);
}
示例15: equals
import org.roboguice.shaded.goole.common.base.Objects; //导入方法依赖的package包/类
@Override
public boolean equals(Object other) {
if (other == null || !(other instanceof Location)) return false;
Location location = (Location) other;
return Objects.equal(description, location.description)
&& Objects.equal(lat, location.lat)
&& Objects.equal(lng, location.lng);
}