org.threeten.bp.LocalTime.hashCode()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(1.5k)|赞(0)|评价(0)|浏览(192)

本文整理了Java中org.threeten.bp.LocalTime.hashCode()方法的一些代码示例,展示了LocalTime.hashCode()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。LocalTime.hashCode()方法的具体详情如下:
包路径:org.threeten.bp.LocalTime
类名称:LocalTime
方法名:hashCode

LocalTime.hashCode介绍

[英]A hash code for this time.
[中]这次的哈希代码。

代码示例

代码示例来源:origin: ThreeTen/threetenbp

/**
 * A hash code for this date-time.
 *
 * @return a suitable hash code
 */
@Override
public int hashCode() {
  return date.hashCode() ^ time.hashCode();
}

代码示例来源:origin: ThreeTen/threetenbp

/**
 * A hash code for this time.
 *
 * @return a suitable hash code
 */
@Override
public int hashCode() {
  return time.hashCode() ^ offset.hashCode();
}

代码示例来源:origin: com.torodb.kvdocument/kvdocument-core

@Override
public int hashCode() {
  return getValue().hashCode();
}

代码示例来源:origin: org.threeten/threetenbp

/**
 * A hash code for this date-time.
 *
 * @return a suitable hash code
 */
@Override
public int hashCode() {
  return date.hashCode() ^ time.hashCode();
}

代码示例来源:origin: org.threeten/threetenbp

/**
 * A hash code for this time.
 *
 * @return a suitable hash code
 */
@Override
public int hashCode() {
  return time.hashCode() ^ offset.hashCode();
}

代码示例来源:origin: com.torodb.torod/torod-core

@Override
public int hashCode() {
  return getValue().hashCode();
}

代码示例来源:origin: ThreeTen/threetenbp

/**
 * A hash code for this date-time.
 *
 * @return a suitable hash code
 */
@Override
public int hashCode() {
  return toLocalDate().hashCode() ^ toLocalTime().hashCode();
}

代码示例来源:origin: org.threeten/threetenbp

/**
 * A hash code for this date-time.
 *
 * @return a suitable hash code
 */
@Override
public int hashCode() {
  return toLocalDate().hashCode() ^ toLocalTime().hashCode();
}

相关文章