- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 2,028 for instanceOf (0.22 sec)
-
android/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; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Aug 04 15:33:27 GMT 2020 - 2.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Jul 19 15:37:28 GMT 2023 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
assertThat(multimap.get("b")).containsExactly(3, 6).inOrder(); assertFalse(multimap.get("a") instanceof ImmutableSortedSet); assertFalse(multimap.get("x") instanceof ImmutableSortedSet); assertFalse(multimap.asMap().get("a") instanceof ImmutableSortedSet); } public void testBuilderOrderKeysByDuplicates() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 24.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java
assertTrue(descendingKeySet instanceof SynchronizedNavigableSet); assertSame(mutex, ((SynchronizedNavigableSet<String>) descendingKeySet).mutex); } public void testDescendingMap() { NavigableMap<String, Integer> map = create(); NavigableMap<String, Integer> descendingMap = map.descendingMap(); assertTrue(descendingMap instanceof SynchronizedNavigableMap);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 12.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsTest.java
assertEquals(2, factory.count); assertEquals("{BLUE=[3, 1, 4, 1], RED=[2, 7, 1, 8]}", multimap.toString()); assertFalse(multimap.get(Color.BLUE) instanceof RandomAccess); assertTrue(multimap.keySet() instanceof SortedSet); assertTrue(multimap.asMap() instanceof SortedMap); } @J2ktIncompatible @GwtIncompatible // SerializableTester public void testNewListMultimapSerialization() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/RenderDataUtil.java
return; } if (value instanceof Entity) { data.register(key, BeanUtil.copyBeanToNewMap(value)); } else { if ((value instanceof final Collection<?> coll) && !coll.isEmpty()) { // care performance for List that the most frequent pattern final Object first = coll instanceof List<?> ? ((List<?>) coll).get(0) : coll.iterator().next();
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 1.7K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithProblemMessageMatcher.java
this.problemMessage = problemMessage; } @Override public boolean matches(Object o) { if (!(o instanceof ProjectBuildingResult)) { return false; } final ProjectBuildingResult r = (ProjectBuildingResult) o; return r.getProblems().stream().anyMatch(p -> p.getMessage().contains(problemMessage)); } @Override public void describeTo(Description description) {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToken.java
} if (runtimeType instanceof GenericArrayType) { return of(supertype).isSupertypeOfArray((GenericArrayType) runtimeType); } // Proceed to regular Type subtype check if (supertype instanceof Class) { return this.someRawTypeIsSubclassOf((Class<?>) supertype); } else if (supertype instanceof ParameterizedType) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 21:02:13 GMT 2023 - 53.6K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java
if (metadata instanceof ProjectArtifactMetadata) { org.eclipse.aether.artifact.Artifact pomArtifact = new SubArtifact(mainArtifact, "", "pom"); pomArtifact = pomArtifact.setFile(((ProjectArtifactMetadata) metadata).getFile()); request.addArtifact(pomArtifact); } else if (metadata instanceof SnapshotArtifactRepositoryMetadata
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 6.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EnumBiMap.java
this.valueTypeOrObjectUnderJ2cl = valueTypeOrObjectUnderJ2cl; } static <K extends Enum<K>> Class<K> inferKeyTypeOrObjectUnderJ2cl(Map<K, ?> map) { if (map instanceof EnumBiMap) { return ((EnumBiMap<K, ?>) map).keyTypeOrObjectUnderJ2cl; } if (map instanceof EnumHashBiMap) { return ((EnumHashBiMap<K, ?>) map).keyTypeOrObjectUnderJ2cl; } checkArgument(!map.isEmpty());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Aug 24 01:40:03 GMT 2023 - 6.3K bytes - Viewed (0)