- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 242 for unchecked (0.19 sec)
-
guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
try { getUnchecked(FAILED_FUTURE_CHECKED_EXCEPTION); fail(); } catch (UncheckedExecutionException expected) { assertEquals(CHECKED_EXCEPTION, expected.getCause()); } } public void testGetUnchecked_ExecutionExceptionUnchecked() { try { getUnchecked(FAILED_FUTURE_UNCHECKED_EXCEPTION); fail(); } catch (UncheckedExecutionException expected) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 4.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java
@SuppressWarnings("unchecked") public static <E> ImmutableSet<E> of(E e1, E e2, E e3) { return create(e1, e2, e3); } @SuppressWarnings("unchecked") public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4) { return create(e1, e2, e3, e4); } @SuppressWarnings("unchecked") public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5) { return create(e1, e2, e3, e4, e5); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 23 18:43:40 GMT 2024 - 8.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java
} @Override @SuppressWarnings({"unchecked"}) public <T> T computeIfAbsent(String groupId, String artifactId, String version, String tag, Supplier<T> data) { return (T) computeIfAbsent(new GavCacheKey(groupId, artifactId, version, tag), data); } @Override @SuppressWarnings({"unchecked"}) public <T> T computeIfAbsent(Source path, String tag, Supplier<T> data) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 6.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
try { getUnchecked(FAILED_FUTURE_CHECKED_EXCEPTION); fail(); } catch (UncheckedExecutionException expected) { assertEquals(CHECKED_EXCEPTION, expected.getCause()); } } public void testGetUnchecked_ExecutionExceptionUnchecked() { try { getUnchecked(FAILED_FUTURE_UNCHECKED_EXCEPTION); fail(); } catch (UncheckedExecutionException expected) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 4.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java
} @Override public final Map<AnEnum, String> create(Object... entries) { @SuppressWarnings("unchecked") Entry<AnEnum, String>[] array = (Entry<AnEnum, String>[]) new Entry<?, ?>[entries.length]; int i = 0; for (Object o : entries) { @SuppressWarnings("unchecked") Entry<AnEnum, String> e = (Entry<AnEnum, String>) o; array[i++] = e; } return create(array); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java
} @Override public final Map<AnEnum, String> create(Object... entries) { @SuppressWarnings("unchecked") Entry<AnEnum, String>[] array = (Entry<AnEnum, String>[]) new Entry<?, ?>[entries.length]; int i = 0; for (Object o : entries) { @SuppressWarnings("unchecked") Entry<AnEnum, String> e = (Entry<AnEnum, String>) o; array[i++] = e; } return create(array); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java
} @Override public final BiMap<String, String> create(Object... entries) { @SuppressWarnings("unchecked") Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length]; int i = 0; for (Object o : entries) { @SuppressWarnings("unchecked") Entry<String, String> e = (Entry<String, String>) o; array[i++] = e; } return create(array); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 2.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/LoadingCache.java
* * <p><b>Warning:</b> this method silently converts checked exceptions to unchecked exceptions, * and should not be used with cache loaders which throw checked exceptions. In such cases use * {@link #get} instead. * * @throws UncheckedExecutionException if an exception was thrown while loading the value. (As * explained in the last paragraph above, this should be an unchecked exception only.)
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Sat Aug 06 17:12:03 GMT 2022 - 8.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
.testEquals(); } @SuppressWarnings("unchecked") // proxy of List<String> private static List<String> newDelegatingList(List<String> delegate) { return Reflection.newProxy(List.class, new DelegatingInvocationHandler(delegate)); } @SuppressWarnings("unchecked") // proxy of List<String> private static List<String> newDelegatingListWithEquals(List<String> delegate) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 5.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java
} @Override public final SetMultimap<String, String> create(Object... entries) { @SuppressWarnings("unchecked") Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length]; int i = 0; for (Object o : entries) { @SuppressWarnings("unchecked") Entry<String, String> e = (Entry<String, String>) o; array[i++] = e; } return create(array); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 3K bytes - Viewed (0)