- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 548 for UNCHECKED (0.06 seconds)
-
android/guava/src/com/google/common/collect/NullsFirstOrdering.java
public <S extends @Nullable T> Ordering<S> reverse() { // ordering.reverse() might be optimized, so let it do its thing return ordering.<T>reverse().<@NonNull S>nullsLast(); } @SuppressWarnings("unchecked") // still need the right way to explain this @Override public <S extends @Nullable T> Ordering<@Nullable S> nullsFirst() { return (Ordering<@Nullable S>) this; } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/NullsLastOrdering.java
} @Override public <S extends @Nullable T> Ordering<@Nullable S> nullsFirst() { return ordering.<@NonNull S>nullsFirst(); } @SuppressWarnings("unchecked") // still need the right way to explain this @Override public <S extends @Nullable T> Ordering<@Nullable S> nullsLast() { return (Ordering<@Nullable S>) this; } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/NullsLastOrdering.java
} @Override public <S extends @Nullable T> Ordering<@Nullable S> nullsFirst() { return ordering.<@NonNull S>nullsFirst(); } @SuppressWarnings("unchecked") // still need the right way to explain this @Override public <S extends @Nullable T> Ordering<@Nullable S> nullsLast() { return (Ordering<@Nullable S>) this; } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.7K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java
public class UpgradePropertiesRulePostProcess implements PostProcessViolationsRule { @Override @SuppressWarnings("unchecked") public void execute(ViolationCheckContextWithViolations context) { Set<AccessorKey> seenUpgradedAccessorsChanges = (Set<AccessorKey>) context.getUserData().get(SEEN_OLD_REMOVED_ACCESSORS_OF_UPGRADED_PROPERTIES);Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Aug 19 15:30:48 GMT 2024 - 3.5K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRulePostProcess.java
import java.util.HashSet; import java.util.Set; public class AcceptedRegressionsRulePostProcess implements PostProcessViolationsRule { @Override @SuppressWarnings("unchecked") public void execute(ViolationCheckContextWithViolations context) { Set<ApiChange> acceptedApiChanges = (Set<ApiChange>) context.getUserData().get("acceptedApiChanges");Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Jun 09 08:16:49 GMT 2021 - 1.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java
arraycopy(elements, 0, entries, 0, elements.length); return createFromEntries(entries); } public abstract Set<Entry<K, V>> createFromEntries(Entry<K, V>[] entries); @Override @SuppressWarnings("unchecked") // generic arrays make typesafety sad public Entry<K, V>[] createArray(int length) { return (Entry<K, V>[]) new Entry<?, ?>[length]; } /** Returns the original element list, unchanged. */ @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rerun/TestTaskConfigurer.java
return method; } private static <T> T invoke(Method method, Object instance, Object... args) { try { Object result = method.invoke(instance, args); @SuppressWarnings("unchecked") T cast = (T) result; return cast; } catch (IllegalAccessException | InvocationTargetException e) { throw new RuntimeException(e); } }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableAsList.java
} @Override ImmutableCollection<E> delegateCollection() { return delegate; } ImmutableList<? extends E> delegateList() { return delegateList; } @SuppressWarnings("unchecked") // safe covariant cast! @Override public UnmodifiableListIterator<E> listIterator(int index) { return (UnmodifiableListIterator<E>) delegateList.listIterator(index); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 2.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
@SuppressWarnings({"rawtypes", "unchecked"}) Entry<Object, V>[] entries = new Entry[size]; for (int i = 0; i < size; i++) { // requireNonNull is safe because the first `2*size` elements have been filled in. Object key = requireNonNull(alternatingKeysAndValues[2 * i]); @SuppressWarnings("unchecked") V value = (V) requireNonNull(alternatingKeysAndValues[2 * i + 1]);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 02 19:58:40 GMT 2026 - 41.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
* This implementation passes the navigable map test suites. * * @author Louis Wasserman */ @GwtIncompatible public final class SafeTreeMap<K, V> implements Serializable, NavigableMap<K, V> { @SuppressWarnings("unchecked") private static final Comparator<Object> NATURAL_ORDER = (o1, o2) -> ((Comparable<Object>) o1).compareTo(o2); private final NavigableMap<K, V> delegate; public SafeTreeMap() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 7.4K bytes - Click Count (0)