- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,777 for Equals (0.14 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/AbstractLanguageElement.java
} @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AbstractLanguageElement that = (AbstractLanguageElement) o; return Objects.equals(rawCommentText, that.rawCommentText) && Objects.equals(annotationNames, that.annotationNames); }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingObject.java
* * <p>This class does <i>not</i> forward the {@code hashCode} and {@code equals} methods through to * the backing object, but relies on {@code Object}'s implementation. This is necessary to preserve * the symmetry of {@code equals}. Custom definitions of equality are usually based on an interface, * such as {@code Set} or {@code List}, so that the implementation of {@code equals} can cast the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/BaseComparable.java
} @Override public int hashCode() { // delegate to 's' return s.hashCode(); } @Override public boolean equals(@Nullable Object other) { if (other == null) { return false; } else if (other instanceof BaseComparable) { return s.equals(((BaseComparable) other).s); } else { return false; } } @Override public int compareTo(BaseComparable o) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 20 11:19:03 UTC 2023 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java
// setToTest should throw when it calls equals(), or equals is called on it, except for itself assertThat(setToTest).isEqualTo(setToTest); assertThrows(IllegalStateException.class, () -> setToTest.equals(wrappedSet)); assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfWrappedSet)); assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfModifiedSet));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
@SuppressWarnings("EqualsHashCode") @Override public boolean equals(@Nullable Object other) { return (other instanceof ClassWhichIsAlwaysEqualButHasDifferentHashcodes); } } private static class ObjectWhichIsEqualButChangesClass implements Serializable { private static final long serialVersionUID = 1L; @Override public boolean equals(@Nullable Object other) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
@SuppressWarnings("EqualsHashCode") @Override public boolean equals(@Nullable Object other) { return (other instanceof ClassWhichIsAlwaysEqualButHasDifferentHashcodes); } } private static class ObjectWhichIsEqualButChangesClass implements Serializable { private static final long serialVersionUID = 1L; @Override public boolean equals(@Nullable Object other) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
while (resources.hasMoreElements()) { final URL resource = resources.nextElement(); logger.debug("loading {}", resource); if ("file".equals(resource.getProtocol())) { final File directory = new File(resource.getFile()); if (directory.exists() && directory.isDirectory()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Jun 19 01:34:15 UTC 2024 - 7.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/Network.java
* same structural relationships as those in this network. * * <p>Thus, two networks A and B are equal if <b>all</b> of the following are true: * * <ul> * <li>A and B have equal {@link #isDirected() directedness}. * <li>A and B have equal {@link #nodes() node sets}. * <li>A and B have equal {@link #edges() edge sets}. * <li>Every edge in A and B connects the same nodes in the same direction (if any).
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 10 15:41:27 UTC 2024 - 21.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java
assertTrue(synonymItem1.equals(synonymItem1)); assertTrue(synonymItem1.equals(new SynonymItem(1, new String[] { "A", "a" }, new String[] { "B", "b" }))); assertTrue(synonymItem1.equals(new SynonymItem(2, new String[] { "A", "a" }, new String[] { "B", "b" }))); assertFalse(synonymItem1.equals(new SynonymItem(2, new String[] { "A", "a" }, new String[] { "B", })));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContext.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0)