- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,329 for instanceOf (0.19 sec)
-
src/main/java/org/codelibs/core/convert/LongConversionUtil.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PredicatesTest.java
.addEqualityGroup(Predicates.instanceOf(Number.class)) .addEqualityGroup(Predicates.instanceOf(Float.class)) .testEquals(); } @J2ktIncompatible @GwtIncompatible // Predicates.instanceOf, SerializableTester public void testIsInstanceOf_serialization() { checkSerialization(Predicates.instanceOf(Integer.class)); } @J2ktIncompatible
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 32.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Predicates.java
* example, {@code instanceOf(ArrayList.class)} will yield different results for the two equal * instances {@code Lists.newArrayList(1)} and {@code Arrays.asList(1)}. */ @GwtIncompatible // Class.isInstance public static <T extends @Nullable Object> Predicate<T> instanceOf(Class<?> clazz) { return new InstanceOfPredicate<>(clazz); } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 23.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedNavigableSetTest.java
assertTrue(descendingSet instanceof SynchronizedNavigableSet); assertSame(set, ((SynchronizedNavigableSet<String>) descendingSet).mutex); } public void testHeadSet_E() { NavigableSet<String> set = create(); SortedSet<String> headSet = set.headSet("a"); assertTrue(headSet instanceof SynchronizedSortedSet);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 7.7K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
*/ @Override public InetAddress toInetAddress () throws UnknownHostException { if ( this.addr instanceof Address ) { return ( (Address) this.addr ).toInetAddress(); } else if ( this.addr instanceof InetAddress ) { return (InetAddress) this.addr; } return null; } /** * {@inheritDoc} *
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
@Override public boolean equals(@CheckForNull Object that) { if (that instanceof Pred) { return this.node.equals(((Pred<?>) that).node); } else { return false; } } @Override public int hashCode() { // Adding the class hashCode to avoid a clash with Succ instances. return Pred.class.hashCode() + node.hashCode(); } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 18K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedNavigableSetTest.java
assertTrue(descendingSet instanceof SynchronizedNavigableSet); assertSame(MUTEX, ((SynchronizedNavigableSet<String>) descendingSet).mutex); } public void testHeadSet_E() { NavigableSet<String> map = create(); SortedSet<String> headSet = map.headSet("a"); assertTrue(headSet instanceof SynchronizedSortedSet);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 7.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeVisitor.java
boolean succeeded = false; try { if (type instanceof TypeVariable) { visitTypeVariable((TypeVariable<?>) type); } else if (type instanceof WildcardType) { visitWildcardType((WildcardType) type); } else if (type instanceof ParameterizedType) { visitParameterizedType((ParameterizedType) type); } else if (type instanceof Class) { visitClass((Class<?>) type);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Apr 16 21:10:04 GMT 2021 - 3.7K bytes - Viewed (0) -
android/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 Object instance, Method method, int paramIndex) { method.setAccessible(true); testParameter(instance, invokable(instance, method), paramIndex, method.getDeclaringClass()); } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 22.8K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactoryTest.java
assertNotNull(versionFilter); assertTrue(versionFilter instanceof ContextualSnapshotVersionFilter); request.getUserProperties().put("maven.versionFilters", "h"); versionFilter = systemSessionFactory.newRepositorySession(request).getVersionFilter(); assertNotNull(versionFilter); assertTrue(versionFilter instanceof HighestVersionFilter);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Mar 27 14:46:12 GMT 2024 - 19.3K bytes - Viewed (0)