- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 360 for UNCHECKED (0.63 sec)
-
guava-tests/test/com/google/common/collect/EnumBiMapTest.java
JAPAN, SWITZERLAND, UK } @AndroidIncompatible // test-suite builders public static final class EnumBiMapGenerator implements TestBiMapGenerator<Country, Currency> { @SuppressWarnings("unchecked") @Override public BiMap<Country, Currency> create(Object... entries) { BiMap<Country, Currency> result = EnumBiMap.create(Country.class, Currency.class); for (Object object : entries) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/MethodUtil.java
* @throws InvocationTargetRuntimeException * If the underlying method throws an exception * @see Method#invoke(Object, Object[]) */ @SuppressWarnings("unchecked") public static <T> T invoke(final Method method, final Object target, final Object... args) throws InvocationTargetRuntimeException, IllegalAccessRuntimeException { assertArgumentNotNull("method", method);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 12.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java
final transient Map<K, V> delegate; ForwardingImmutableMap(Map<? extends K, ? extends V> delegate) { this.delegate = Collections.unmodifiableMap(delegate); } @SuppressWarnings("unchecked") ForwardingImmutableMap(boolean throwIfDuplicateKeys, Entry<? extends K, ? extends V>... entries) { Map<K, V> delegate = Maps.newLinkedHashMap(); for (Entry<? extends K, ? extends V> entry : entries) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 4K bytes - Viewed (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); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ReverseOrdering.java
this.forwardOrder = checkNotNull(forwardOrder); } @Override public int compare(@ParametricNullness T a, @ParametricNullness T b) { return forwardOrder.compare(b, a); } @SuppressWarnings("unchecked") // how to explain? @Override public <S extends T> Ordering<S> reverse() { return (Ordering<S>) forwardOrder; } // Override the min/max methods to "hoist" delegation outside loops @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ReverseOrdering.java
this.forwardOrder = checkNotNull(forwardOrder); } @Override public int compare(@ParametricNullness T a, @ParametricNullness T b) { return forwardOrder.compare(b, a); } @SuppressWarnings("unchecked") // how to explain? @Override public <S extends T> Ordering<S> reverse() { return (Ordering<S>) forwardOrder; } // Override the min/max methods to "hoist" delegation outside loops @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
Class<? super T> rawType = type.getRawType(); @SuppressWarnings("unchecked") // Assume all default values are generics safe. T defaultValue = (T) defaultValues.getInstance(rawType); if (defaultValue != null) { return defaultValue; } @SuppressWarnings("unchecked") // ArbitraryInstances always returns generics-safe dummies. T value = (T) ArbitraryInstances.get(rawType);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
} /** * Returns an iterable whose iterator returns the given elements in order. The elements are copied * out of the source collection at the time this method is called. */ @SuppressWarnings("unchecked") // Es come in, Es go out public static <E extends @Nullable Object> MinimalIterable<E> from(Collection<E> elements) { return (MinimalIterable) of(elements.toArray()); } private @Nullable Iterator<E> iterator;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayTable.java
* row and column iteration ordering of the returned table. * * @throws NullPointerException if {@code table} has a null key */ @SuppressWarnings("unchecked") // TODO(cpovirk): Make constructor accept wildcard types? public static <R, C, V> ArrayTable<R, C, V> create(Table<R, C, ? extends @Nullable V> table) { return (table instanceof ArrayTable)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 19:39:21 UTC 2025 - 26.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/exbhv/SearchLogBhv.java
logger.debug("Invalid date format: {}", value, e); } } return DfTypeUtil.toLocalDateTime(value); } @SuppressWarnings("unchecked") @Override protected <RESULT extends SearchLog> RESULT createEntity(final Map<String, Object> source, final Class<? extends RESULT> entityType) { try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 4.8K bytes - Viewed (0)