- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 742 for unchecked (0.06 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java
return generator.order(insertionOrder); } @SuppressWarnings("unchecked") @Override public K[] createKeyArray(int length) { return (K[]) new Object[length]; } @SuppressWarnings("unchecked") @Override public V[] createValueArray(int length) { return (V[]) new Object[length]; } @Override
Created: 2026-04-03 12:43 - Last Modified: 2024-12-22 03:38 - 6.8K bytes - Click Count (2) -
guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java
return generator.order(insertionOrder); } @SuppressWarnings("unchecked") @Override public K[] createKeyArray(int length) { return (K[]) new Object[length]; } @SuppressWarnings("unchecked") @Override public V[] createValueArray(int length) { return (V[]) new Object[length]; } @Override
Created: 2026-04-03 12:43 - Last Modified: 2024-12-22 03:38 - 6.8K bytes - Click Count (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) {
Created: 2026-04-03 12:43 - Last Modified: 2026-03-12 17:47 - 5.8K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java
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); }
Created: 2026-04-03 12:43 - Last Modified: 2025-09-22 21:07 - 8.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/NaturalOrdering.java
@Override @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this?? public int compare(Comparable<?> left, Comparable<?> right) { checkNotNull(left); // for GWT checkNotNull(right); return ((Comparable<Object>) left).compareTo(right); } @Override @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this??Created: 2026-04-03 12:43 - Last Modified: 2026-03-03 01:34 - 3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java
@SuppressWarnings("unchecked") final Map<String, Object> user = (Map<String, Object>) attributes.get("user"); assertEquals(123L, user.get("id")); @SuppressWarnings("unchecked") final List<Object> userRoles = (List<Object>) user.get("roles"); assertEquals(2, userRoles.size()); @SuppressWarnings("unchecked")Created: 2026-03-31 13:07 - Last Modified: 2026-01-15 12:54 - 11K bytes - Click Count (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 e1) { return ofInternal(Ordering.natural(), e1); } @SuppressWarnings("unchecked")Created: 2026-04-03 12:43 - Last Modified: 2025-08-06 18:32 - 15.5K bytes - Click Count (0) -
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) {
Created: 2026-04-03 12:43 - Last Modified: 2026-03-12 17:47 - 5.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/SneakyThrows.java
import com.google.common.annotations.GwtCompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; /** Static utility method for unchecked throwing of any {@link Throwable}. */ @GwtCompatible final class SneakyThrows<T extends Throwable> { /** * Throws {@code t} as if it were an unchecked {@link Throwable}. * * <p>This method is useful primarily when we make a reflective call to a method with no {@codeCreated: 2026-04-03 12:43 - Last Modified: 2024-12-30 18:44 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/NaturalOrdering.java
@Override @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this?? public int compare(Comparable<?> left, Comparable<?> right) { checkNotNull(left); // for GWT checkNotNull(right); return ((Comparable<Object>) left).compareTo(right); } @Override @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this??Created: 2026-04-03 12:43 - Last Modified: 2026-03-03 01:34 - 3K bytes - Click Count (0)