- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 548 for UNCHECKED (0.09 seconds)
-
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
} try { @SuppressWarnings("unchecked") // we catch CCE's C c = (C) o; return ImmutableRangeSet.this.contains(c); } catch (ClassCastException e) { return false; } } @Override int indexOf(@Nullable Object target) { if (contains(target)) { @SuppressWarnings("unchecked") // if it's contained, it's definitely a CCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 27.5K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableBiMap.java
static final RegularImmutableBiMap<Object, Object> EMPTY = new RegularImmutableBiMap<Object, Object>(); private final transient ImmutableBiMap<V, K> inverse; @SuppressWarnings("unchecked") // used only for the empty map, which works for any types RegularImmutableBiMap() { super(new RegularImmutableMap<K, V>(new HashMap<K, V>())); this.inverse = (ImmutableBiMap<V, K>) this; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jan 27 22:02:32 GMT 2026 - 1.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/SortedIterables.java
comparator2 = ((SortedIterable<?>) elements).comparator(); } else { return false; } return comparator.equals(comparator2); } @SuppressWarnings("unchecked") // if sortedSet.comparator() is null, the set must be naturally ordered public static <E extends @Nullable Object> Comparator<? super E> comparator( SortedSet<E> sortedSet) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/WebApiUtil.java
* * @param <T> The type of the object * @param name The attribute name * @return The attribute value, or null if not found */ @SuppressWarnings("unchecked") public static <T> T getObject(final String name) { return LaRequestUtil.getOptionalRequest().map(req -> (T) req.getAttribute(name)).orElse(null); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3.2K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayStatusService.kt
projectsToEnableNullaway.sorted().forEach { println(" * $it") } } else if (projectsWithUncheckedDeps.isNotEmpty()) { println("Unchecked dependencies of $uncheckedCount ${projectS(uncheckedCount)} need NullAway enabled first (run `./gradlew nullawayStatus` to see those).") } else { // This should not happen.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Aug 20 13:18:23 GMT 2025 - 3.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ClassToInstanceMapTesting.java
immutableEntry(Three.class, new Impl(3)), immutableEntry(Four.class, new Impl(4)), immutableEntry(Five.class, new Impl(5))); } @Override @SuppressWarnings("unchecked") public Entry<Class<?>, Impl>[] createArray(int length) { return (Entry<Class<?>, Impl>[]) new Entry<?, ?>[length]; } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 20:00:15 GMT 2026 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableList.java
arraycopy(array, 0, dst, dstOff, size); return dstOff + size; } // The fake cast to E is safe because the creation methods only allow E's @Override @SuppressWarnings("unchecked") public E get(int index) { checkElementIndex(index, size); // requireNonNull is safe because we guarantee that the first `size` elements are non-null. return (E) requireNonNull(array[index]); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.7K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/DefaultTypeProvider.java
import org.apache.maven.api.Type; import org.apache.maven.api.spi.TypeProvider; @Named @Deprecated(since = "4.0.0") public class DefaultTypeProvider implements TypeProvider { @SuppressWarnings({"rawtypes", "unchecked"}) @Override public Collection<Type> provides() { return (Collection) types(); } public Collection<DefaultType> types() { return Arrays.asList( // Maven typesCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java
@Override public SortedMultiset<E> create(Object... entries) { @SuppressWarnings("unchecked") // we dangerously assume E is a string List<E> extremeValues = (List<E>) getExtremeValues(); @SuppressWarnings("unchecked") // map generators must past entry objects List<E> normalValues = (List<E>) asList(entries);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 11.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
* code. * * <p><b>Performance note:</b> the instance returned is a singleton. */ // Casting to any type is safe because the list will never hold any elements. @SuppressWarnings("unchecked") public static <E> ImmutableList<E> of() { return (ImmutableList<E>) EMPTY; } /** * Returns an immutable list containing a single element. This list behaves and performsCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 27.5K bytes - Click Count (0)