- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,782 for instanceOf (0.23 sec)
-
android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java
public void testGetRandomAccess() { Multimap<String, Integer> multimap = create(); multimap.put("foo", 1); multimap.put("foo", 3); assertTrue(multimap.get("foo") instanceof RandomAccess); assertTrue(multimap.get("bar") instanceof RandomAccess); } /** Confirm that removeAll() returns a List implementing RandomAccess. */ public void testRemoveAllRandomAccess() { Multimap<String, Integer> multimap = create();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
} } private static DosFileFilter unwrapDOSFilter ( ResourceFilter ff ) { if ( ff instanceof ResourceFilterWrapper ) { SmbFileFilter sff = ( (ResourceFilterWrapper) ff ).getFileFilter(); if ( sff instanceof DosFileFilter ) { return (DosFileFilter) sff; } } return null; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jul 20 08:41:19 UTC 2019 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/ConcurrencyTest.java
} tree.send(create2); } catch ( Exception e ) { if ( e.getCause() instanceof TransportException && e.getCause().getCause() instanceof InterruptedException ) { Smb2CreateRequest create3 = new Smb2CreateRequest(sess.getConfig(), "\\xyz"); create3.setOverrideTimeout(1000);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 14 17:40:50 UTC 2021 - 17.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
* this parameter is marked nullable, this method does nothing. * * @param instance the instance to invoke {@code method} on, or null if {@code method} is static */ public void testMethodParameter( @Nullable final Object instance, final Method method, int paramIndex) { method.setAccessible(true); testParameter(instance, invokable(instance, method), paramIndex, method.getDeclaringClass()); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 23.2K 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 Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/ContextConfigTest.java
@SuppressWarnings ( "deprecation" ) public void testFixedCredentials () { Credentials guestCreds = this.context.withGuestCrendentials().getCredentials(); assertThat(guestCreds, CoreMatchers.is(CoreMatchers.instanceOf(NtlmPasswordAuthenticator.class))); NtlmPasswordAuthenticator ntlmGuestCreds = guestCreds.unwrap(NtlmPasswordAuthenticator.class); assertThat("anonymous", ntlmGuestCreds.isAnonymous(), CoreMatchers.is(false));
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 9.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
assertTrue(result instanceof RandomAccess); assertListImmutable(result); assertEquals(ImmutableList.<Integer>of(), result); } public void testLeastOfIterator_empty_0() { List<Integer> result = numberOrdering.leastOf(Iterators.<Integer>emptyIterator(), 0); assertTrue(result instanceof RandomAccess); assertListImmutable(result);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
assertTrue(result instanceof RandomAccess); assertListImmutable(result); assertEquals(ImmutableList.<Integer>of(), result); } public void testLeastOfIterator_empty_0() { List<Integer> result = numberOrdering.leastOf(Iterators.<Integer>emptyIterator(), 0); assertTrue(result instanceof RandomAccess); assertListImmutable(result);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeParameter.java
Type type = capture(); checkArgument(type instanceof TypeVariable, "%s should be a type variable.", type); this.typeVariable = (TypeVariable<?>) type; } @Override public final int hashCode() { return typeVariable.hashCode(); } @Override public final boolean equals(@CheckForNull Object o) { if (o instanceof TypeParameter) { TypeParameter<?> that = (TypeParameter<?>) o;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
* * 1) An interface I extending Comparable<I> so that the created array is of * an interface type. 2) An instance of a class implementing that interface * so that we can pass non-null instances of the interface. * * (Currently it's safe to pass instances for which compareTo() always * returns 0, but if we had a SingletonImmutableSortedSet, this might no * longer be the case.) *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 46.7K bytes - Viewed (0)