- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 1,087 for Equals (0.04 seconds)
-
guava/src/com/google/common/collect/Synchronized.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 56.9K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java
// instead of Object[]. return delegateList().toArray(new Object[size()]); } @Override public boolean equals(@Nullable Object obj) { return delegateList().equals(obj); } @Override public int hashCode() { return delegateList().hashCode(); } @Override public UnmodifiableIterator<E> iterator() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 2.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/LatestArtifactTransformation.java
throws ArtifactResolutionException, ArtifactNotFoundException { if (Artifact.LATEST_VERSION.equals(artifact.getVersion())) { try { String version = resolveVersion(artifact, request); if (Artifact.LATEST_VERSION.equals(version)) { throw new ArtifactNotFoundException("Unable to determine the latest version", artifact); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.9K bytes - Click Count (0) -
build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixtureVisitor.java
ASTNode receiver = call.getReceiver(); if (receiver instanceof PropertyExpression) { if (((PropertyExpression) receiver).getPropertyAsString().equals("output")) { Expression objectExpr = ((PropertyExpression) receiver).getObjectExpression(); checkIndirectOutputContains(objectExpr, call); } } }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.9K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractNetwork.java
} @Override public final boolean equals(@Nullable Object obj) { if (obj == this) { return true; } if (!(obj instanceof Network)) { return false; } Network<?, ?> other = (Network<?, ?>) obj; return isDirected() == other.isDirected() && nodes().equals(other.nodes()) && edgeIncidentNodesMap(this).equals(edgeIncidentNodesMap(other)); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 10K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
} } static class SlowElement extends Element { SlowElement(int hash) { super(hash); } @Override public boolean equals(@Nullable Object obj) { return slowItDown() != 1 && super.equals(obj); } @Override public int hashCode() { return slowItDown() + hash; } @Override public int compareTo(Element e) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
} } } return this; } /** * Tests {@link Object#equals} and {@link Object#hashCode} against the return values of the * static methods, by asserting that when equal parameters are passed to the same static method, * the return value should also be equal; and vice versa. * * <p>Test fails if default value cannot be determined for a constructor or factory methodCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 32.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Present.java
"the Function passed to Optional.transform() must not return null.")); } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof Present) { Present<?> other = (Present<?>) obj; return reference.equals(other.reference); } return false; } @Override public int hashCode() { return 0x598df91c + reference.hashCode(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Apr 15 22:14:00 GMT 2025 - 2.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java
} @ListFeature.Require(SUPPORTS_SET) public void testReplaceAll_changesSome() { getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e); E[] expected = createSamplesArray(); for (int i = 0; i < expected.length; i++) { if (expected[i].equals(samples.e0())) { expected[i] = samples.e3(); } } expectContents(expected); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 2.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractRangeSet.java
} @Override public abstract boolean encloses(Range<C> otherRange); @Override public boolean equals(@Nullable Object obj) { if (obj == this) { return true; } else if (obj instanceof RangeSet) { RangeSet<?> other = (RangeSet<?>) obj; return this.asRanges().equals(other.asRanges()); } return false; } @Override public final int hashCode() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 2.4K bytes - Click Count (0)