- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 392 for UNCHECKED (0.14 sec)
-
android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java
// Other tests will verify what real, warning-free usage looks like // but here we have to do some serious fudging @Override @SuppressWarnings({"unchecked", "rawtypes"}) public Map<TypeToken, Object> create(Object... elements) { ImmutableTypeToInstanceMap.Builder<Object> builder = ImmutableTypeToInstanceMap.builder();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
// Clear the protocol handlers cache Field handlersField = Handler.class.getDeclaredField("PROTOCOL_HANDLERS"); handlersField.setAccessible(true); @SuppressWarnings("unchecked") Map<String, URLStreamHandler> handlers = (Map<String, URLStreamHandler>) handlersField.get(null); handlers.clear(); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TableCollectionTest.java
@SuppressWarnings("unchecked") Cell<String, Integer, Character> cell = (Cell<String, Integer, Character>) element; table.put(cell.getRowKey(), cell.getColumnKey(), cell.getValue()); } return table.cellSet(); } abstract Table<String, Integer, Character> createTable(); @Override @SuppressWarnings("unchecked")Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/SerializeUtilTest.java
// Test ArrayList final List<String> list = new ArrayList<>(); list.add("item1"); list.add("item2"); binary = SerializeUtil.fromObjectToBinary(list); @SuppressWarnings("unchecked") final List<String> resultList = (List<String>) SerializeUtil.fromBinaryToObject(binary); assertEquals(list.size(), resultList.size()); assertEquals(list.get(0), resultList.get(0));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Primitives.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 4.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
* around a {@link java.util.TreeMap}. * * @author Hayward Chan */ public final class ImmutableSortedMap<K, V> extends ForwardingImmutableMap<K, V> implements SortedMap<K, V> { @SuppressWarnings("unchecked") static final Comparator<?> NATURAL_ORDER = Ordering.natural(); private final transient SortedMap<K, V> sortedDelegate; // The comparator used by this map. It's the same as that of sortedDelegate,Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 16.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* the AbstractIteratorTester<E> part, so it's an unchecked cast. We know, however, that the * only possible value for the type parameter is <E>, since otherwise the * MultiExceptionListIterator wouldn't be an Iterator<E>. The cast is safe, even though * javac can't tell. */ @SuppressWarnings("unchecked") MultiExceptionListIterator multiExceptionListIterator =
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
return new TreeRangeMap<>(); } /** * Returns a new {@link TreeRangeMap} containing the same ranges as the given {@code RangeMap}. * * @since 33.4.0 */ @SuppressWarnings("unchecked") public static <K extends Comparable<?>, V> TreeRangeMap<K, V> copyOf( RangeMap<K, ? extends V> rangeMap) { if (rangeMap instanceof TreeRangeMap) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 22.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
} /** * Returns an iterable whose iterator returns the given elements in order. The elements are copied * out of the source collection at the time this method is called. */ @SuppressWarnings("unchecked") // Es come in, Es go out public static <E extends @Nullable Object> MinimalIterable<E> from(Collection<E> elements) { return (MinimalIterable) of(elements.toArray()); } private @Nullable Iterator<E> iterator;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java
} } @Override public BeanDesc getBeanDesc() { return beanDesc; } @SuppressWarnings("unchecked") @Override public <T> Constructor<T> getConstructor() { return (Constructor<T>) constructor; } @Override public Class<?>[] getParameterTypes() { return parameterTypes;Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5K bytes - Viewed (0)