- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,228 for Equals (0.86 sec)
-
android/guava/src/com/google/common/collect/MapDifference.java
@ParametricNullness V rightValue(); /** * Two instances are considered equal if their {@link #leftValue()} values are equal and their * {@link #rightValue()} values are also equal. */ @Override boolean equals(@Nullable Object other); /** * The hash code equals the value {@code Arrays.asList(leftValue(), rightValue()).hashCode()}. */ @OverrideRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Functions.java
? uncheckedCastNullableTToT(result) : defaultValue; } @Override public boolean equals(@Nullable Object o) { if (o instanceof ForMapWithDefault) { ForMapWithDefault<?, ?> that = (ForMapWithDefault<?, ?>) o; return map.equals(that.map) && Objects.equals(defaultValue, that.defaultValue); } return false; } @Override public int hashCode() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 15.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
* change the behavior of {@link #equals}, which can lead to unexpected behavior. In this case, you * should override {@code equals} as well, either providing your own implementation, or delegating * to the provided {@code standardEquals} method. * * <p>Each of the {@code standard} methods, where appropriate, use {@link Objects#equals} to testRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingSet.java
/** Constructor for use by subclasses. */ protected ForwardingSet() {} @Override protected abstract Set<E> delegate(); @Override public boolean equals(@Nullable Object object) { return object == this || delegate().equals(object); } @Override public int hashCode() { return delegate().hashCode(); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
} @Override public boolean equals(@Nullable Object other) { if (!(other instanceof ParameterizedType)) { return false; } ParameterizedType that = (ParameterizedType) other; return getRawType().equals(that.getRawType()) && Objects.equals(getOwnerType(), that.getOwnerType()) && Arrays.equals(getActualTypeArguments(), that.getActualTypeArguments()); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 23.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstallerRequest.java
public Collection<ProducedArtifact> getArtifacts() { return artifacts; } @Override public boolean equals(Object o) { return o instanceof DefaultArtifactInstallerRequest that && Objects.equals(artifacts, that.artifacts); } @Override public int hashCode() { return Objects.hashCode(artifacts);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Interner.java
* Chooses and returns the representative instance for any of a collection of instances that are * equal to each other. If two {@linkplain Object#equals equal} inputs are given to this method, * both calls will return the same instance. That is, {@code intern(a).equals(a)} always holds, * and {@code intern(a) == intern(b)} if and only if {@code a.equals(b)}. Note that {@codeRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java
Object notAShareInfo = new Object(); assertTrue(instance1.equals(instance2)); // Should be equal based on netName assertFalse(instance1.equals(instance3)); // Should not be equal assertFalse(instance1.equals(notAShareInfo)); // Should not be equal to other types assertFalse(instance1.equals(null)); // Should not be equal to null } /** * Test of hashCode method, of class SmbShareInfo.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
continue; } if (ModifierUtil.isStatic(method.getModifiers()) && method.getName().equals("valueOf") && method.getParameterTypes().length == 1 && method.getParameterTypes()[0].equals(String.class)) { valueOfMethod = method; break; } } }Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 15.1K bytes - Viewed (0) -
api/maven-api-metadata/src/main/mdo/metadata.mdo
v.getVersions().add( version ); } } if ( "null".equals( versioning.getLastUpdated() ) ) { versioning.setLastUpdated( null ); } if ( "null".equals( v.getLastUpdated() ) ) { v.setLastUpdated( null ); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed May 15 17:32:27 UTC 2024 - 15.8K bytes - Viewed (0)