- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 1,228 for Equals (0.04 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnum.java
import org.apache.maven.api.annotations.Nonnull; /** * Interface that defines some kind of enums that can be extended by Maven plugins or extensions. * * Implementation must have {@code equals()} and {@code hashCode()} implemented, so implementations of this interface * can be used as keys. * * @since 4.0.0 */ @Experimental public interface ExtensibleEnum { /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 01 17:18:13 UTC 2024 - 1.5K bytes - Viewed (0) -
cmd/endpoint_contrib_test.go
} for _, testCase := range ipv4TestCases { globalDomainIPs = nil updateDomainIPs(testCase.endPoints) if !testCase.expectedResult.Equals(globalDomainIPs) { t.Fatalf("error: expected = %s, got = %s", testCase.expectedResult, globalDomainIPs) } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 30 15:50:39 UTC 2021 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java
FessUserNotFoundException exception2 = new FessUserNotFoundException("user2"); assertNotSame(exception1, exception2); assertFalse(exception1.getMessage().equals(exception2.getMessage())); assertEquals("User is not found: user1", exception1.getMessage()); assertEquals("User is not found: user2", exception2.getMessage()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java
assertTrue(result1.startsWith("FessUserTimeZoneProcessProvider:{")); assertTrue(result2.startsWith("FessUserTimeZoneProcessProvider:{")); // But different hash codes assertFalse(result1.equals(result2)); } // Test static field initialization public void test_centralTimeZone_initialization() { // Verify that centralTimeZone is properly initialized
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.9K bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
public final fun certificatePinner ()Lokhttp3/CertificatePinner; public final fun connectionSpecs ()Ljava/util/List; public final fun dns ()Lokhttp3/Dns; public fun equals (Ljava/lang/Object;)Z public fun hashCode ()I public final fun hostnameVerifier ()Ljavax/net/ssl/HostnameVerifier; public final fun protocols ()Ljava/util/List; public final fun proxy ()Ljava/net/Proxy;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
Object candidateKey = entry.getKey(); /* * Assume that equals uses the == optimization when appropriate, and that * it would check hash codes as an optimization when appropriate. If we * did these things, it would just make things worse for the most * performance-conscious users. */ if (key.equals(candidateKey)) { return entry.getValue(); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 15.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
Function<String, @Nullable Integer> function = Functions.forMap(map, null); assertEquals((Integer) 1, function.apply("One")); assertNull(function.apply("Two")); // check basic sanity of equals and hashCode new EqualsTester() .addEqualityGroup(function) .addEqualityGroup(Functions.forMap(map, 1)) .testEquals(); } @J2ktIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/InvalidatableSet.java
import com.google.common.collect.ForwardingSet; import java.util.Set; /** * A subclass of `ForwardingSet` that throws `IllegalStateException` on invocation of any method * (except `hashCode` and `equals`) if the provided `Supplier` returns false. */ final class InvalidatableSet<E> extends ForwardingSet<E> { private final Supplier<Boolean> validator; private final Set<E> delegate;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
} /** * Returns the {@code int} value that, when treated as unsigned, is equal to {@code value}, if * possible. * * @param value a value between 0 and 2<sup>32</sup>-1 inclusive * @return the {@code int} value that, when treated as unsigned, equals {@code value} * @throws IllegalArgumentException if {@code value} is negative or greater than or equal to * 2<sup>32</sup> * @since 21.0 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Feb 09 16:22:33 UTC 2025 - 13.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java
if (!MediaType.OCTET_STREAM.equals(mediaType)) { return mediaType.getType() + "/" + mediaType.getSubtype(); } } final MediaType mediaType = mimeTypes.detect(is == null || is.markSupported() ? is : new BufferedInputStream(is), metadata); if (useFilenameOnOctetStream && MediaType.OCTET_STREAM.equals(mediaType)) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 6.5K bytes - Viewed (0)