当前位置: 首页>>代码示例>>Java>>正文


Java Objects.equal方法代码示例

本文整理汇总了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);
}
 
开发者ID:jvalue,项目名称:hochwasser-app,代码行数:17,代码来源:StationMeasurements.java

示例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);
}
 
开发者ID:FauDroids,项目名称:KeepOn,代码行数:9,代码来源:ChallengeData.java

示例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);
}
 
开发者ID:FauDroids,项目名称:KeepOn,代码行数:13,代码来源:Challenge.java

示例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);
}
 
开发者ID:FauDroids,项目名称:KeepOn,代码行数:9,代码来源:RecordingResult.java

示例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);
}
 
开发者ID:FauDroids,项目名称:KeepOn,代码行数:10,代码来源:Account.java

示例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);
}
 
开发者ID:FauDroids,项目名称:TeamBlocks,代码行数:12,代码来源:FieldUpdate.java

示例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);
}
 
开发者ID:FauDroids,项目名称:SigLocate,代码行数:10,代码来源:Transformation.java

示例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);
}
 
开发者ID:FauDroids,项目名称:BabyFace,代码行数:11,代码来源:Face.java

示例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);
}
 
开发者ID:FauDroids,项目名称:BabyFace,代码行数:10,代码来源:PhotoInfo.java

示例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);
}
 
开发者ID:FauDroids,项目名称:BabyFace,代码行数:9,代码来源:ReminderPeriod.java

示例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);
}
 
开发者ID:FauDroids,项目名称:BabyFace,代码行数:10,代码来源:VideoInfo.java

示例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);
}
 
开发者ID:FauDroids,项目名称:BoxClub,代码行数:9,代码来源:MotionEvents.java

示例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);
}
 
开发者ID:FauDroids,项目名称:BoxClub,代码行数:12,代码来源:Transformation.java

示例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);
}
 
开发者ID:FauDroids,项目名称:TripWeather,代码行数:9,代码来源:WayPoint.java

示例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);
}
 
开发者ID:FauDroids,项目名称:TripWeather,代码行数:9,代码来源:Location.java


注:本文中的org.roboguice.shaded.goole.common.base.Objects.equal方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。