- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 422 for UNCHECKED (0.06 seconds)
-
android/guava-tests/test/com/google/common/collect/OrderingTest.java
// for use calling Collection.toArray later T[] emptyArray = Platform.newArray(strictlyOrderedElements, 0); // shoot me, but I didn't want to deal with wildcards through the whole test @SuppressWarnings("unchecked") Scenario<T> starter = new Scenario<>((Ordering<T>) ordering, list, emptyArray); verifyScenario(starter, 0); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 10 23:13:45 GMT 2025 - 42.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
// for use calling Collection.toArray later T[] emptyArray = Platform.newArray(strictlyOrderedElements, 0); // shoot me, but I didn't want to deal with wildcards through the whole test @SuppressWarnings("unchecked") Scenario<T> starter = new Scenario<>((Ordering<T>) ordering, list, emptyArray); verifyScenario(starter, 0); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 10 23:13:45 GMT 2025 - 42.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterators.java
* Returns the empty iterator. * * <p>The {@link Iterable} equivalent of this method is {@link ImmutableSet#of()}. */ // Casting to any type is safe since there are no actual elements. @SuppressWarnings("unchecked") static <T extends @Nullable Object> UnmodifiableListIterator<T> emptyListIterator() { return (UnmodifiableListIterator<T>) ArrayItr.EMPTY; } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multimaps.java
throw new UnsupportedOperationException(); } @SuppressWarnings("unchecked") @Override public boolean remove(@Nullable Object key, @Nullable Object value) { return get((K) key).remove(value); } @SuppressWarnings("unchecked") @Override public Collection<V2> removeAll(@Nullable Object key) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 86.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
/** * Returns the empty bimap. * * <p><b>Performance note:</b> the instance returned is a singleton. */ // Casting to any type is safe because the set will never hold any elements. @SuppressWarnings("unchecked") public static <K, V> ImmutableBiMap<K, V> of() { return (ImmutableBiMap<K, V>) RegularImmutableBiMap.EMPTY; } /** Returns an immutable bimap containing a single entry. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 22.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
* @return the information * @throws CIFSException * if the information cannot be cast to the specified type */ @SuppressWarnings("unchecked") public <T extends Decodable> T getInfo(final Class<T> clazz) throws CIFSException { if (!clazz.isAssignableFrom(this.info.getClass())) { throw new CIFSException("Incompatible file information class");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/misc/Tuple4.java
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 5.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
try { result = supplier.get(); } catch (Throwable t) { if (predicate.apply(t)) { // We are careful to set up INSTANCE_OF to match each Predicate to its target Class. @SuppressWarnings("unchecked") T caught = (T) t; return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java
* @return the info cast to the specified type * @throws CIFSException if the information cannot be cast to the specified type */ @SuppressWarnings("unchecked") public <T extends FileInformation> T getInfo(final Class<T> type) throws CIFSException { if (!type.isAssignableFrom(this.info.getClass())) { throw new CIFSException("Incompatible file information class");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
CollectionFeature.GENERAL_PURPOSE, CollectionFeature.ALLOWS_NULL_QUERIES) .createTestSuite()); return suite; } @SuppressWarnings({"rawtypes", "unchecked"}) public void testForwarding() { new ForwardingWrapperTester() .testForwarding( SortedMultiset.class, new Function<SortedMultiset, SortedMultiset>() { @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.5K bytes - Click Count (0)