- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 1,801 for equals (0.05 seconds)
-
guava/src/com/google/common/collect/ForwardingList.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 7.8K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/root/DefaultRootLocator.java
if (parser.nextTag() == XMLStreamReader.START_ELEMENT && parser.getLocalName().equals("project")) { for (int i = 0; i < parser.getAttributeCount(); i++) { if ("root".equals(parser.getAttributeLocalName(i))) { return Boolean.parseBoolean(parser.getAttributeValue(i)); } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/MIEName.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionEqualsTester.java
assertTrue("An Object should be equal to itself.", collection.equals(collection)); } // Comparisons to null *are* defined. @SuppressWarnings("UndefinedEquals") public void testEquals_null() { // noinspection ObjectEqualsNull assertFalse("An object should not be equal to null.", collection.equals(null)); } // A collection should essentially never be equal to a non-collection.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 2.1K 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 Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 2.4K bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
// 2.0.X == 2-X == 2.0.0.X for any string x checkVersionsEqual("2-" + x, "2.0." + x); // previously ordered, now equals checkVersionsEqual("2-" + x, "2.0.0." + x); // previously ordered, now equals checkVersionsEqual("2.0." + x, "2.0.0." + x); // previously ordered, now equals } } @Test public void testMng7714() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 17.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/ProjectInheritanceTest.java
assertFalse(artifact.getArtifactId().equals("t07-d")); System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion() + " Optional=" + (artifact.isOptional() ? "true" : "false")); assertTrue( artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId()); } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMultiset.java
return delegate().elementSet(); } @Override public Set<Entry<E>> entrySet() { return delegate().entrySet(); } @Override public boolean equals(@Nullable Object object) { return object == this || delegate().equals(object); } @Override public int hashCode() { return delegate().hashCode(); } @CanIgnoreReturnValue @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
} return hash + getURLPath().toUpperCase().hashCode(); } /** * {@inheritDoc} * * @see java.lang.Object#equals(java.lang.Object) */ @Override public boolean equals(final Object obj) { if (!(obj instanceof final SmbResourceLocatorImpl o)) { return false; } /*Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 23.6K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
if ("always".equals(styleColor) || "yes".equals(styleColor) || "force".equals(styleColor)) { MessageUtils.setColorEnabled(true); } else if ("never".equals(styleColor) || "no".equals(styleColor) || "none".equals(styleColor)) { MessageUtils.setColorEnabled(false); } else if (!"auto".equals(styleColor) && !"tty".equals(styleColor) && !"if-tty".equals(styleColor)) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 78.1K bytes - Click Count (0)