- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 969 for SuppressWarnings (0.05 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
*/ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class SortedMapNavigationTester<K, V> extends AbstractMapTester<K, V> { private SortedMap<K, V> navigableMap; private Entry<K, V> a; private Entry<K, V> c; @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractTableTest.java
assertEquals(ImmutableMap.of(5, 'x'), row); } } @SuppressWarnings("unchecked") // C can only be @Nullable Character or Character protected @NonNull C cellValue(Character character) { return (C) character; } // Only safe wrt. ClassCastException. Not null-safe (can be used to test expected Table NPEs) @SuppressWarnings("unchecked") protected C nullableCellValue(@Nullable Character character) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
return mapMaker; } static <E extends Enum<E>> Class<E> getDeclaringClassOrObjectForJ2cl(E e) { Class<E> classOrNull = getDeclaringClassOrNullForJ2cl(e); @SuppressWarnings("unchecked") Class<E> result = classOrNull == null ? (Class<E>) (Class<?>) Object.class : classOrNull; return result; } /* * If I understand correctly: *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jun 10 15:17:16 UTC 2025 - 5.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Interners.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
assertEquals(Ordering.natural().max(filtered), first); } catch (NoSuchElementException e) { assertTrue(filtered.isEmpty()); } } } @SuppressWarnings("unchecked") public void testHeadSet() { for (List<Integer> contents : SAMPLE_INPUTS) { for (int i = 0; i < 10; i++) { assertEquals(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 13.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
import org.jspecify.annotations.Nullable; /** Implementations of {@code Futures.transform*}. */ @GwtCompatible // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, || @SuppressWarnings("ShortCircuitBoolean") abstract class AbstractTransformFuture< I extends @Nullable Object, O extends @Nullable Object, F, T extends @Nullable Object> extends FluentFuture.TrustedFuture<O> implements Runnable {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
public boolean isInUse() { return this.usageCount.get() > 0; } /** * {@inheritDoc} * * @see jcifs.SmbSession#unwrap(java.lang.Class) */ @SuppressWarnings("unchecked") @Override public <T extends SmbSession> T unwrap(Class<T> type) { if (type.isAssignableFrom(this.getClass())) { return (T) this; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/MultiIterator.java
* @return an {@link Iterable} wrapping a {@link MultiIterator} */ public static <E> Iterable<E> iterable(final Iterable<E>... iterables) { assertArgumentNotNull("iterables", iterables); @SuppressWarnings("unchecked") final Iterator<E>[] iterators = new Iterator[iterables.length]; for (int i = 0; i < iterables.length; ++i) { iterators[i] = iterables[i].iterator(); }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java
.withFeatures(CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_VALUES) .createTestSuite()); return suite; } @SuppressWarnings({"rawtypes", "unchecked"}) public void testForwarding() { new ForwardingWrapperTester() .testForwarding( Collection.class, new Function<Collection, Collection>() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 4.8K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java
CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_VALUES, CollectionFeature.GENERAL_PURPOSE) .createTestSuite()); return suite; } @SuppressWarnings({"rawtypes", "unchecked"}) public void testForwarding() { new ForwardingWrapperTester() .testForwarding( Queue.class, new Function<Queue, Queue>() { @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.3K bytes - Viewed (0)