- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 438 for UNCHECKED (0.26 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java
return new ReserializingTestCollectionGenerator<>(delegate); } @Override public Collection<E> create(Object... elements) { return reserialize(delegate.create(elements)); } @SuppressWarnings("unchecked") static <T> T reserialize(T object) { try { ByteArrayOutputStream bytes = new ByteArrayOutputStream(); ObjectOutputStream out = new ObjectOutputStream(bytes); out.writeObject(object);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jun 11 16:13:05 GMT 2024 - 2.4K bytes - Click Count (0) -
android/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) -
android/guava/src/com/google/common/base/Defaults.java
* false} for {@code boolean} and {@code '\0'} for {@code char}. For non-primitive types and * {@code void}, {@code null} is returned. */ @SuppressWarnings({ "unchecked", "BooleanLiteral" // `(T) false` would produce an error }) public static <T> @Nullable T defaultValue(Class<T> type) { checkNotNull(type); if (type.isPrimitive()) { if (type == boolean.class) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 02 19:58:40 GMT 2026 - 2.2K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Functions.java
* * <p><b>Discouraged:</b> Prefer using a lambda like {@code v -> v}, which is shorter and often * more readable. */ // implementation is "fully variant"; E has become a "pass-through" type @SuppressWarnings("unchecked") public static <E extends @Nullable Object> Function<E, E> identity() { return (Function<E, E>) IdentityFunction.INSTANCE; } // enum singleton patternCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 15.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java
public Set<Multiset.Entry<E>> create(Object... entries) { List<Object> contents = new ArrayList<>(); Set<E> elements = new HashSet<>(); for (Object o : entries) { @SuppressWarnings("unchecked") Multiset.Entry<E> entry = (Entry<E>) o; checkArgument( elements.add(entry.getElement()), "Duplicate keys not allowed in EntrySetGenerator"); for (int i = 0; i < entry.getCount(); i++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 10.5K bytes - Click Count (0) -
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)