MCPcopy Create free account
hub / github.com/jwtk/jjwt / hashCode

Method hashCode

api/src/main/java/io/jsonwebtoken/lang/Objects.java:569–571  ·  view source on GitHub ↗

Return the same value as Boolean#hashCode() . @param bool the boolean to get a hashcode @return the same value as Boolean#hashCode(). @see Boolean#hashCode()

(boolean bool)

Source from the content-addressed store, hash-verified

567 * @see Boolean#hashCode()
568 */
569 public static int hashCode(boolean bool) {
570 return bool ? 1231 : 1237;
571 }
572
573 /**
574 * Return the same value as <code>{@link Double#hashCode()}</code>.

Callers 1

nullSafeHashCodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected