- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 392 for UNCHECKED (0.04 sec)
-
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) -
android/guava/src/com/google/common/collect/Streams.java
* * <p>This is equivalent to {@code Stream.of(streams).flatMap(stream -> stream)}, but the returned * stream may perform better. * * @see Stream#concat(Stream, Stream) */ @SuppressWarnings("unchecked") // could probably be avoided with a forwarding Spliterator @SafeVarargs public static <T extends @Nullable Object> Stream<T> concat(Stream<? extends T>... streams) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 21 15:40:45 UTC 2025 - 36.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
} } } /** * * {@inheritDoc} * * @see jcifs.SID#unwrap(java.lang.Class) */ @SuppressWarnings("unchecked") @Override public <T> T unwrap(final Class<T> t) { if (t.isAssignableFrom(this.getClass())) { return (T) this; } throw new ClassCastException(); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16K bytes - Viewed (0) -
android/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 - 10K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
} } private static <X extends Exception> X newWithCause(Class<X> exceptionClass, Throwable cause) { // getConstructors() guarantees this as long as we don't modify the array. @SuppressWarnings({"unchecked", "rawtypes"}) List<Constructor<X>> constructors = (List) Arrays.asList(exceptionClass.getConstructors()); for (Constructor<X> constructor : preferringStringsThenThrowables(constructors)) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultimap.java
stream.writeObject(keyComparator()); stream.writeObject(valueComparator()); Serialization.writeMultimap(this, stream); } @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: Thu Aug 07 16:05:33 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
* * @param session the HTTP session * @return the result document IDs cache map */ private Map<String, String[]> getResultDocIdsCache(final HttpSession session) { @SuppressWarnings("unchecked") Map<String, String[]> resultDocIdsCache = (Map<String, String[]>) session.getAttribute(Constants.RESULT_DOC_ID_CACHE); if (resultDocIdsCache == null) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
log.debug("Found ExtendedGSSContext implementation: " + EXT_GSS_CONTEXT_CLASS.getName()); } } @SuppressWarnings("unchecked") private static <T extends Enum<T>> Object getSessionKeyInquireType(Class<?> inquireTypeClass) { return Enum.valueOf((Class<T>) inquireTypeClass, "KRB5_GET_SESSION_KEY"); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
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) -
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)