• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Java Objects类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中org.roboguice.shaded.goole.common.base.Objects的典型用法代码示例。如果您正苦于以下问题:Java Objects类的具体用法?Java Objects怎么用?Java Objects使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



Objects类属于org.roboguice.shaded.goole.common.base包,在下文中一共展示了Objects类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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


示例16: equals

import org.roboguice.shaded.goole.common.base.Objects; //导入依赖的package包/类
@Override
public boolean equals(Object other) {
	if (other == null || !(other instanceof TripData)) return false;
	if (other == this) return true;
	TripData data = (TripData) other;
	return Objects.equal(fromLocation, data.fromLocation)
			&& Objects.equal(toLocation, data.toLocation)
			&& Objects.equal(route, data.route)
			&& Objects.equal(forecasts, data.forecasts);
}
 
开发者ID:FauDroids,项目名称:TripWeather,代码行数:11,代码来源:TripData.java


示例17: equals

import org.roboguice.shaded.goole.common.base.Objects; //导入依赖的package包/类
@Override
public boolean equals(Object other) {
	if (other == null || !(other instanceof Forecast)) return false;
	if (other == this) return true;
	Forecast forecast = (Forecast) other;
	return Objects.equal(wayPoint, forecast.wayPoint)
			&& Objects.equal(forecastMode, forecast.forecastMode)
			&& Objects.equal(temperature, forecast.temperature)
			&& Objects.equal(rain, forecast.rain)
			&& Objects.equal(snow, forecast.snow)
			&& Objects.equal(timestamp, forecast.timestamp);
}
 
开发者ID:FauDroids,项目名称:TripWeather,代码行数:13,代码来源:Forecast.java


示例18: 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;
	Measurement that = (Measurement) o;
	return Objects.equal(value, that.value) &&
			Objects.equal(unit, that.unit);
}
 
开发者ID:jvalue,项目名称:hochwasser-app,代码行数:9,代码来源:Measurement.java


示例19: 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;
	Station station = (Station) o;
	return Objects.equal(gaugeId, station.gaugeId) &&
			Objects.equal(latitude, station.latitude) &&
			Objects.equal(longitude, station.longitude) &&
			Objects.equal(riverKm, station.riverKm) &&
			Objects.equal(stationName, station.stationName) &&
			Objects.equal(bodyOfWater, station.bodyOfWater);
}
 
开发者ID:jvalue,项目名称:hochwasser-app,代码行数:13,代码来源:Station.java


示例20: 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;
	BodyOfWater bodyOfWater = (BodyOfWater) o;
	return Objects.equal(name, bodyOfWater.name)
			&& Objects.equal(stationCount, bodyOfWater.stationCount);
}
 
开发者ID:jvalue,项目名称:hochwasser-app,代码行数:9,代码来源:BodyOfWater.java



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java ChangedHandler类代码示例发布时间:2022-05-23
下一篇:
Java OracleDatabase类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap