- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 311 for unchecked (0.25 sec)
-
guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
import static com.google.common.util.concurrent.FuturesGetCheckedInputs.OTHER_THROWABLE; import static com.google.common.util.concurrent.FuturesGetCheckedInputs.RUNTIME_EXCEPTION; import static com.google.common.util.concurrent.FuturesGetCheckedInputs.RUNTIME_EXCEPTION_FUTURE; import static com.google.common.util.concurrent.FuturesGetCheckedInputs.UNCHECKED_EXCEPTION;
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
import static com.google.common.util.concurrent.FuturesGetCheckedInputs.OTHER_THROWABLE; import static com.google.common.util.concurrent.FuturesGetCheckedInputs.RUNTIME_EXCEPTION; import static com.google.common.util.concurrent.FuturesGetCheckedInputs.RUNTIME_EXCEPTION_FUTURE; import static com.google.common.util.concurrent.FuturesGetCheckedInputs.UNCHECKED_EXCEPTION;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
} @SuppressWarnings("unchecked") public static <E> ImmutableSortedSet<E> of() { return (ImmutableSortedSet<E>) NATURAL_EMPTY_SET; } public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of(E element) { return ofInternal(Ordering.natural(), element); } @SuppressWarnings("unchecked")
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 15.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ThrowablesTest.java
/** * Unit test for {@link Throwables}. * * @author Kevin Bourrillion */ @GwtCompatible(emulated = true) public class ThrowablesTest extends TestCase { public void testThrowIfUnchecked_Unchecked() { try { throwIfUnchecked(new SomeUncheckedException()); fail(); } catch (SomeUncheckedException expected) { } } public void testThrowIfUnchecked_Error() { try {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 23.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
/** * Unit test for {@link Throwables}. * * @author Kevin Bourrillion */ @GwtCompatible(emulated = true) public class ThrowablesTest extends TestCase { public void testThrowIfUnchecked_Unchecked() { try { throwIfUnchecked(new SomeUncheckedException()); fail(); } catch (SomeUncheckedException expected) { } } public void testThrowIfUnchecked_Error() { try {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 23.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
final Entry<K, V>[] oldTable = listTable; final int newCapacity = oldTable.length * 2 + 1; @SuppressWarnings("unchecked") final Entry<K, V>[] newMapTable = new Entry[newCapacity]; @SuppressWarnings("unchecked") final Entry<K, V>[] newListTable = new Entry[newCapacity]; threshold = (int) (newCapacity * LOAD_FACTOR);
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 20.6K bytes - Viewed (1) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
default: @SuppressWarnings("unchecked") List<E> castedList = (List<E>) list; return new RegularImmutableList<E>(castedList); } } /** * Views the array as an immutable list. The array must have only {@code E} elements. * * <p>The array must be internally created. */ @SuppressWarnings("unchecked") // caller is reponsible for getting this right
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 11K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeRangeMapTest.java
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 33.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectCollectors.java
ImmutableRangeSet.Builder::build); // Lists @SuppressWarnings({"rawtypes", "unchecked"}) static <E> Collector<E, ?, ImmutableList<E>> toImmutableList() { return (Collector) TO_IMMUTABLE_LIST; } // Sets @SuppressWarnings({"rawtypes", "unchecked"}) static <E> Collector<E, ?, ImmutableSet<E>> toImmutableSet() { return (Collector) TO_IMMUTABLE_SET; }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 16:21:40 GMT 2024 - 16.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
// These come from Entry<K, Collection<V>>> objects somewhere. @SuppressWarnings("unchecked") K key = (K) entry.getKey(); keySet.add(key); for (Object v : (Collection<?>) entry.getValue()) { // These come from Entry<K, Collection<V>>> objects somewhere. @SuppressWarnings("unchecked") V value = (V) v; builder.add(mapEntry(key, value)); } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 26.8K bytes - Viewed (0)