- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 570 for Unchecked (0.21 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
assertThat(set0).isEmpty(); @SuppressWarnings("unchecked") // using a legacy comparable ImmutableSortedSet<LegacyComparable> set1 = ImmutableSortedSet.of(LegacyComparable.Z); assertThat(set1).containsExactly(LegacyComparable.Z); @SuppressWarnings("unchecked") // using a legacy comparable ImmutableSortedSet<LegacyComparable> set2 =
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
* This does perform a little more work than necessary, so another option is to insert an * unchecked cast at some later point: * * {@snippet : * @SuppressWarnings("unchecked") // safe because of ::isInstance check * ImmutableList<NewType> result = * (ImmutableList) stream.filter(NewType.class::isInstance).collect(toImmutableList()); * }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 34.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java
final Map<String, Object> defaultSettings = defaultSettings(); initialSettings.forEach((key, value) -> { if (value instanceof Collection) { @SuppressWarnings("unchecked") final Collection<Object> collection = (Collection<Object>) value; collection.forEach(element -> arraySettings.add(new Tuple<>(key, element)));
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 20.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
* bufferSize ≥ k, then we can ignore any elements greater than this value. */ private @Nullable T threshold; @SuppressWarnings("unchecked") // TODO(cpovirk): Consider storing Object[] instead of T[]. private TopKSelector(Comparator<? super T> comparator, int k) { this.comparator = checkNotNull(comparator, "comparator"); this.k = k;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 11.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
public class UnmodifiableCollectionTests { public static void assertMapEntryIsUnmodifiable(Entry<?, ?> entry) { try { // fine because the call is going to fail without modifying the entry @SuppressWarnings("unchecked") Entry<?, @Nullable Object> nullableValueEntry = (Entry<?, @Nullable Object>) entry; nullableValueEntry.setValue(null); fail("setValue on unmodifiable Map.Entry succeeded");Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} return getNegotiateResponse().isSigningRequired(); } /** * {@inheritDoc} * * @see jcifs.SmbTransport#unwrap(java.lang.Class) */ @SuppressWarnings("unchecked") @Override public <T extends SmbTransport> T unwrap(final Class<T> type) { if (type.isAssignableFrom(this.getClass())) { return (T) this; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K 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) -
guava/src/com/google/common/collect/Streams.java
} catch (Exception e) { // sneaky checked exception if (exception == null) { exception = e; } else { exception.addSuppressed(e); } } } if (exception != null) { // Normally this is a RuntimeException that doesn't need sneakyThrow. // But theoretically we could see sneaky checked exception sneakyThrow(exception); } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 36.4K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
option.converter(new EsTimestampConverter(), timestampFields).excludeWhitespace(); option.exclude(OpenSearchAccessResult.ACCESS_RESULT_DATA); }); @SuppressWarnings("unchecked") final Map<String, Object> data = (Map<String, Object>) source.get(OpenSearchAccessResult.ACCESS_RESULT_DATA); if (data != null) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:40:57 UTC 2025 - 34.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractBiMap.java
stream.defaultWriteObject(); stream.writeObject(inverse()); } @GwtIncompatible @J2ktIncompatible @SuppressWarnings("unchecked") // reading data stored by writeObject private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 15:50:50 UTC 2025 - 14.3K bytes - Viewed (0)