- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 436 for unchecked (0.05 seconds)
-
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
.testEquals(); } public void testStaticMethod_call() throws Exception { Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); @SuppressWarnings("unchecked") // prepend() returns Iterable<String> Iterable<String> result = (Iterable<String>) delegate.invoke(null, "a", ImmutableList.of("b", "c"));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 30.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
List<Class<?>> interfaces = new ArrayList<>(Arrays.asList(forwarderClass.getInterfaces())); // Desugaring may introduce AutoCloseable as an extra interface. interfaces.remove(AutoCloseable.class); @SuppressWarnings("unchecked") // super interface type of T Class<? super T> interfaceType = (Class<? super T>) Iterables.getOnlyElement(interfaces); new ForwardingWrapperTester() .testForwarding( interfaceType,
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 2.8K 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 = new Comparator<Object>() { @Override public int compare(Object o1, Object o2) { return ((Comparable<Object>) o1).compareTo(o2);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 7.5K bytes - Click Count (0) -
android/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 = new Comparator<Object>() { @Override public int compare(Object o1, Object o2) { return ((Comparable<Object>) o1).compareTo(o2);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 7.5K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java
JApiCompatibilityChangeType.ANNOTATION_ADDED ); public BinaryBreakingChangesRule(Map<String, Object> params) { super(params); } @Override @SuppressWarnings("unchecked") public Violation maybeViolation(final JApiCompatibility member) { if (!member.isBinaryCompatible()) { removeAnnotationChanges(member);Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 3.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashMap.java
* * (The above explains when these methods are safe from a `nullness` perspective. From an * `unchecked` perspective, they're safe because we put only K/V elements into each array.) */ @SuppressWarnings("unchecked") private K key(int i) { return (K) requireKeys()[i]; } @SuppressWarnings("unchecked") private V value(int i) { return (V) requireValues()[i]; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 39.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableTable.java
} /** * Returns an empty immutable table. * * <p><b>Performance note:</b> the instance returned is a singleton. */ @SuppressWarnings("unchecked") public static <R, C, V> ImmutableTable<R, C, V> of() { return (ImmutableTable<R, C, V>) SparseImmutableTable.EMPTY; } /** Returns an immutable table containing a single cell. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 17.3K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayStatusService.kt
println("${toEnableCount} ${projectS(toEnableCount)} with checked dependencies are ready to be worked on:") projectsToEnableNullaway.sorted().forEach { println(" * $it") } } else if (projectsWithUncheckedDeps.isNotEmpty()) {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Aug 20 13:18:23 GMT 2025 - 3.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/TreeRangeMap.java
return new TreeRangeMap<>(); } /** * Returns a new {@link TreeRangeMap} containing the same ranges as the given {@code RangeMap}. * * @since 33.4.0 */ @SuppressWarnings("unchecked") public static <K extends Comparable<?>, V> TreeRangeMap<K, V> copyOf( RangeMap<K, ? extends V> rangeMap) { if (rangeMap instanceof TreeRangeMap) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 26.5K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/SinceAnnotationRuleCurrentGradleVersionSetup.java
public SinceAnnotationRuleCurrentGradleVersionSetup(Map<String, String> currentVersion) { this.currentVersion = currentVersion.get("currentVersion"); } @Override @SuppressWarnings("unchecked") public void execute(ViolationCheckContext context) { Map<String, Object> userData = (Map<String, Object>) context.getUserData(); userData.put("currentVersion", currentVersion); }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jun 06 17:52:09 GMT 2025 - 1.3K bytes - Click Count (0)