- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 2,446 for instanceOf (0.12 sec)
-
impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java
// the same instance can be provided multiple times under different Key's // deduplicate instances to avoid redundant beforeXXX/afterXXX callbacks IdentityHashMap<WeakMojoExecutionListener, Object> listeners = new IdentityHashMap<>(); for (Object provided : getScopeState().provided()) { if (provided instanceof WeakMojoExecutionListener weakMojoExecutionListener) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LenientSerializableTester.java
assertEquals(original, copy); assertTrue(copy instanceof ImmutableSet); return copy; } @CanIgnoreReturnValue @GwtIncompatible // SerializableTester static <E> Multiset<E> reserializeAndAssertLenient(Multiset<E> original) { Multiset<E> copy = reserialize(original); assertEquals(original, copy); assertTrue(copy instanceof ImmutableMultiset); return copy; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosCredentials.java
List<Key> serverKeys = new ArrayList<>(); Set<Object> serverPrivateCredentials = this.subject.getPrivateCredentials(); for (Object credential : serverPrivateCredentials) { if (credential instanceof KerberosKey) { serverKeys.add((KerberosKey) credential); } } return serverKeys.toArray(new KerberosKey[0]); } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/https/HandlerTest.java
} @Test @DisplayName("Should extend jcifs.http.Handler") void testInheritance() { // Then assertTrue(handler instanceof jcifs.http.Handler); assertTrue(handler instanceof URLStreamHandler); } } @Nested @DisplayName("Default Port Tests") class DefaultPortTests { @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java
private static <U> com.google.inject.Key<U> toGuiceKey(Key<U> key) { if (key.getQualifier() instanceof String s) { return (com.google.inject.Key<U>) com.google.inject.Key.get(key.getType(), Names.named(s)); } else if (key.getQualifier() instanceof Annotation a) { return (com.google.inject.Key<U>) com.google.inject.Key.get(key.getType(), a); } else {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 16:01:38 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
if (keyObj instanceof final UrlQueue<?> urlQueue) { return escapeValue(urlQueue.getUrl()); } if (keyObj instanceof final StatsKeyObject statsKey) { return escapeValue(statsKey.getUrl()); } if (keyObj instanceof final String key) { return escapeValue(key); } if (keyObj instanceof final Number key) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java
// Should be instance of RuntimeException assertTrue(exception instanceof RuntimeException); // Should be instance of Exception assertTrue(exception instanceof Exception); // Should be instance of Throwable assertTrue(exception instanceof Throwable); // Should not require try-catch (unchecked exception)Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 20K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashing.java
return new short[buckets]; } else { return new int[buckets]; } } static void tableClear(Object table) { if (table instanceof byte[]) { Arrays.fill((byte[]) table, (byte) 0); } else if (table instanceof short[]) { Arrays.fill((short[]) table, (short) 0); } else { Arrays.fill((int[]) table, 0); } } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0)