- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 1,801 for equals (0.13 seconds)
-
android/guava/src/com/google/common/collect/ImmutableSet.java
* the first are ignored. */ public static <E> ImmutableSet<E> of(E e1, E e2) { return construct(2, e1, e2); } /** * Returns an immutable set containing the given elements, minus duplicates, in the order each was * first specified. That is, if multiple elements are {@linkplain Object#equals equal}, all except * the first are ignored. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Oct 11 14:54:00 GMT 2025 - 22.4K bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java
assertTrue(v1.equals(v2), "Expected " + v1 + " to equal " + v2); assertEquals(v1.hashCode(), v2.hashCode()); } @Test void testEqualsNullSafe() { assertFalse(newArtifactVersion("1").equals(null)); } @Test void testEqualsTypeSafe() { assertFalse(newArtifactVersion("1").equals("non-an-artifact-version-instance")); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 9.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
String originalPackaging = project.getOriginalModel().getPackaging(); // Check if this is a BOM (original packaging is "bom") boolean isBom = BOM_PACKAGING.equals(originalPackaging); // Check if mixins are present without flattening enabled if (!model.getMixins().isEmpty() && !flattenEnabled && !model.isPreserveModelVersion()) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 04 19:49:40 GMT 2026 - 22.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SecurityBlob.java
return new SecurityBlob(this.b.clone()); } /* * (non-Javadoc) * * @see java.lang.Object#equals(java.lang.Object) */ @Override public boolean equals(final Object arg0) { try { final SecurityBlob t = (SecurityBlob) arg0; for (int i = 0; i < this.b.length; i++) { if (this.b[i] != t.b[i]) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SortedMultiset.java
* instead of {@link Object#equals} to determine equivalence of instances. * * <p><b>Warning:</b> The comparison must be <i>consistent with equals</i> as explained by the * {@link Comparable} class specification. Otherwise, the resulting multiset will violate the {@link * Collection} contract, which is specified in terms of {@link Object#equals}. * * <p>See the Guava User Guide article on <a href=Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/SortedMultiset.java
* instead of {@link Object#equals} to determine equivalence of instances. * * <p><b>Warning:</b> The comparison must be <i>consistent with equals</i> as explained by the * {@link Comparable} class specification. Otherwise, the resulting multiset will violate the {@link * Collection} contract, which is specified in terms of {@link Object#equals}. * * <p>See the Guava User Guide article on <a href=Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Synchronized.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 56.9K bytes - Click Count (0) -
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 Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 32.5K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Apr 14 13:42:17 GMT 2025 - 2.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java
* Implementations must ensure that if two requests are equal according to * {@link #equals(Object)}, they have the same hashcode. * * @return a hash code value for this request */ @Override int hashCode(); /** * Returns {@code true} if the specified object is equal to this request. * Two requests are considered equal if they have the same type and all * significant fields are equal.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 4K bytes - Click Count (0)