- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 377 for UNCHECKED (0.06 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java
// Other tests will verify what real, warning-free usage looks like // but here we have to do some serious fudging @Override @SuppressWarnings({"unchecked", "rawtypes"}) public Map<Class, Impl> create(Object... elements) { ImmutableClassToInstanceMap.Builder<Impl> builder = ImmutableClassToInstanceMap.builder();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
} @SuppressWarnings("unchecked") ImmutableList<ListenableFuture<T>> delegatesCast = (ImmutableList) delegates; return delegatesCast; } /** Can't use Iterables.toArray because it's not gwt compatible */ @SuppressWarnings("unchecked") private static <T extends @Nullable Object> ListenableFuture<? extends T>[] gwtCompatibleToArray(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
} // SPI methods (what subclasses must implement) /** * Returns a representation of {@code a} as an instance of type {@code B}. If {@code a} cannot be * converted, an unchecked exception (such as {@link IllegalArgumentException}) should be thrown. * * @param a the instance to convert; will never be null * @return the converted instance; <b>must not</b> be null */ @ForOverride
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 18 21:43:06 UTC 2025 - 22.8K bytes - Viewed (0) -
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);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/PairwiseEquivalence.java
} return hash; } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof PairwiseEquivalence) { @SuppressWarnings("unchecked") PairwiseEquivalence<Object, Object> that = (PairwiseEquivalence<Object, Object>) obj; return this.elementEquivalence.equals(that.elementEquivalence); } return false; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 2.4K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
* * @param <T> The target type. * @param field The field value from OpenSearch. * @param clazz The target class. * @return The converted field value. */ @SuppressWarnings("unchecked") private <T> T getFieldValue(final Object field, final Class<T> clazz) { if (field == null) { return null; } if (clazz.equals(Integer.class)) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 10.9K bytes - Viewed (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
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.2K bytes - Viewed (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") public static <T> @Nullable T defaultValue(Class<T> type) { checkNotNull(type); if (type.isPrimitive()) { if (type == boolean.class) { return (T) Boolean.FALSE;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.2K bytes - Viewed (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); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/ParameterizedClassDescImpl.java
this.rawClass = rawClass; this.arguments = arguments; } @Override public boolean isParameterizedClass() { return arguments != null; } @SuppressWarnings("unchecked") @Override public <T> Class<T> getRawClass() { return (Class<T>) rawClass; } /** * Sets the raw class. * * @param rawClass
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.8K bytes - Viewed (0)