- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for EqualsHashCode (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
} private static class ClassWhichIsAlwaysEqualButHasDifferentHashcodes implements Serializable { private static final long serialVersionUID = 2L; @SuppressWarnings("EqualsHashCode") @Override public boolean equals(@Nullable Object other) { return (other instanceof ClassWhichIsAlwaysEqualButHasDifferentHashcodes); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 4.1K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
} private static class ClassWhichIsAlwaysEqualButHasDifferentHashcodes implements Serializable { private static final long serialVersionUID = 2L; @SuppressWarnings("EqualsHashCode") @Override public boolean equals(@Nullable Object other) { return (other instanceof ClassWhichIsAlwaysEqualButHasDifferentHashcodes); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 4.1K bytes - Click Count (0) -
build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml
<!--</module>--> <!-- Coding --> <module name="CovariantEquals"/> <module name="DefaultComesLast"/> <module name="EmptyStatement"/> <module name="EqualsHashCode"/> <module name="ExplicitInitialization"/> <module name="MultipleVariableDeclarations"/> <module name="NoClone"/> <module name="NoFinalizer"/> <!--<module name="RedundantThrows">-->Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Dec 11 10:24:25 GMT 2025 - 6.6K bytes - Click Count (0) -
build-tools-internal/src/main/resources/checkstyle.xml
<module name="OneTopLevelClass" /> <!-- The suffix L is preferred, because the letter l (ell) is often hard to distinguish from the digit 1 (one). --> <module name="UpperEll" /> <module name="EqualsHashCode" /> <!-- Checks that the order of modifiers conforms to the suggestions in the Java Language specification, sections 8.1.1, 8.3.1 and 8.4.3. It is not that
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 13 12:48:46 GMT 2021 - 6K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
tester.includingEquals(); assertFailure( Runnable.class, runnable -> new ForwardingRunnable(runnable) { @SuppressWarnings("EqualsHashCode") @Override public boolean equals(@Nullable Object o) { if (o instanceof ForwardingRunnable) { ForwardingRunnable that = (ForwardingRunnable) o;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.9K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
private final int aspect2; InvalidHashCodeObject(int aspect1, int aspect2) { this.aspect1 = aspect1; this.aspect2 = aspect2; } @SuppressWarnings("EqualsHashCode") @Override public boolean equals(@Nullable Object o) { if (!(o instanceof InvalidHashCodeObject)) { return false; } InvalidHashCodeObject other = (InvalidHashCodeObject) o;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 13.1K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
private final int aspect2; InvalidHashCodeObject(int aspect1, int aspect2) { this.aspect1 = aspect1; this.aspect2 = aspect2; } @SuppressWarnings("EqualsHashCode") @Override public boolean equals(@Nullable Object o) { if (!(o instanceof InvalidHashCodeObject)) { return false; } InvalidHashCodeObject other = (InvalidHashCodeObject) o;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 13.1K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
@FormatMethod private static String rootLocaleFormat(String format, Object... args) { return String.format(Locale.ROOT, format, args); } static class OverridesEquals { @SuppressWarnings("EqualsHashCode") @Override public boolean equals(@Nullable Object o) { return true; } } static class DoesNotOverrideEquals { public boolean equals(Object a, Object b) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 47.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/Sets.java
* * @since 20.0 (present with return type {@link Iterator} since 2.0) */ @Override public abstract UnmodifiableIterator<E> iterator(); @Override @SuppressWarnings("EqualsHashCode") // same semantics public boolean equals(@Nullable Object object) { if (object == this) { return true; } if (!(object instanceof Set)) { return false; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 83K bytes - Click Count (0)