- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 392 for UNCHECKED (0.18 sec)
-
android/guava/src/com/google/common/collect/ImmutableMultimap.java
*/ public static <K, V> ImmutableMultimap<K, V> copyOf(Multimap<? extends K, ? extends V> multimap) { if (multimap instanceof ImmutableMultimap) { @SuppressWarnings("unchecked") // safe since multimap is not writable ImmutableMultimap<K, V> kvMultimap = (ImmutableMultimap<K, V>) multimap; if (!kvMultimap.isPartialView()) { return kvMultimap; } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 27.1K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
return subscriberMethodsCache.getUnchecked(clazz); } catch (UncheckedExecutionException e) { if (e.getCause() instanceof IllegalArgumentException) { /* * IllegalArgumentException is the one unchecked exception that we know is likely to happen * (thanks to the checkArgument calls in getAnnotatedMethodsNotCached). If it happens, we'd
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.8K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
CheckSetUpHashMapGenerator(AtomicBoolean setUpRan) { this.setUpRan = setUpRan; } @Override Map<String, String> wrap(HashMap<String, String> map) { @SuppressWarnings("unchecked") Map<String, String> proxy = Reflection.newProxy(Map.class, new CheckSetUpInvocationHandler(map, setUpRan)); return proxy; } } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu May 22 16:18:11 UTC 2025 - 11.8K bytes - Viewed (0) -
guava/src/com/google/common/cache/AbstractCache.java
public ImmutableMap<K, V> getAllPresent(Iterable<? extends Object> keys) { Map<K, V> result = new LinkedHashMap<>(); for (Object key : keys) { if (!result.containsKey(key)) { @SuppressWarnings("unchecked") K castKey = (K) key; V value = getIfPresent(key); if (value != null) { result.put(castKey, value); } } } return ImmutableMap.copyOf(result); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
guava/src/com/google/common/graph/AbstractBaseGraph.java
// operations only in weird cases like checking for an EndpointPair<ArrayList> in a // Graph<LinkedList>. @SuppressWarnings("unchecked") @Override public boolean contains(@Nullable Object obj) { if (!(obj instanceof EndpointPair)) { return false; } EndpointPair<?> endpointPair = (EndpointPair<?>) obj;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 11.5K bytes - Viewed (0) -
guava/src/com/google/common/graph/AbstractNetwork.java
// operations only in weird cases like checking for an EndpointPair<ArrayList> in a // Network<LinkedList>. @SuppressWarnings("unchecked") @Override public boolean contains(@Nullable Object obj) { if (!(obj instanceof EndpointPair)) { return false; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
assertEquals(25L, updated.get(FieldNames.QUERY_FREQ)); // 20 + 5 assertEquals(20L, updated.get(FieldNames.DOC_FREQ)); // 10 + 10 @SuppressWarnings("unchecked") List<String> tags = (List<String>) updated.get(FieldNames.TAGS); assertTrue(tags.contains("existing")); } @Test public void testConcatValues() {
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
typeVariables = getTypeVariableMap(beanClass); setupConstructorDescs(); setupPropertyDescs(); setupMethodDescs(); setupFieldDescs(); } @SuppressWarnings("unchecked") @Override public <T> Class<T> getBeanClass() { return (Class<T>) beanClass; } @Override public Map<TypeVariable<?>, Type> getTypeVariables() { return typeVariables;
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 25.8K bytes - Viewed (1) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
} /** * Converts a string to a {@link Date}. * * @param str the string * @param locale the locale * @return the converted {@link Date} */ @SuppressWarnings("unchecked") protected static Date toDate(final String str, final Locale locale) { for (final DateFormat format : iterable(new DateFormatIterator(locale), new PlainDateFormatIterator(str, locale))) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 19.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
* * @param type the component type * @param length the length of the new array */ @GwtIncompatible // Array.newInstance(Class, int) @SuppressWarnings("unchecked") public static <T extends @Nullable Object> T[] newArray(Class<@NonNull T> type, int length) { return (T[]) Array.newInstance(type, length); } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:48:28 UTC 2025 - 8.9K bytes - Viewed (0)