- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 360 for UNCHECKED (0.04 sec)
-
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.8K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
guava/src/com/google/common/util/concurrent/Striped.java
* * If we only held the int[] stripes, translating it on the fly to L's, the original locks might * be garbage collected after locking them, ending up in a huge mess. */ @SuppressWarnings("unchecked") // we carefully replaced all keys with their respective L's List<L> asStripes = (List<L>) result; return Collections.unmodifiableList(asStripes); } // Static factories /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java
}); } protected <BUILDER> int[] delegateBatchRequest(final List<? extends Entity> entityList, Function<EsAbstractEntity, BUILDER> call) { @SuppressWarnings("unchecked") final BulkList<? extends Entity, BUILDER> bulkList = (BulkList<? extends Entity, BUILDER>) entityList; final RequestOptionCall<BUILDER> builderEntityCall = bulkList.getEntityCall();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jun 21 04:02:44 UTC 2025 - 26.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
setImplementation(ThreadFactory.class, Dummies.DummyThreadFactory.class); setImplementation(Executor.class, Dummies.DummyExecutor.class); } @SuppressWarnings("unchecked") // it's a subtype map private static <T> @Nullable Class<? extends T> getImplementation(Class<T> type) { return (Class<? extends T>) implementations.get(type); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 20.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ComparisonChain.java
public static ComparisonChain start() { return ACTIVE; } private static final ComparisonChain ACTIVE = new ComparisonChain() { @SuppressWarnings("unchecked") // unsafe; see discussion on supertype @Override public ComparisonChain compare(Comparable<?> left, Comparable<?> right) { return classify(((Comparable<Object>) left).compareTo(right)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeBasedTable.java
@Override public Comparator<? super C> comparator() { return columnComparator(); } int compare(Object a, Object b) { // pretend we can compare anything @SuppressWarnings("unchecked") Comparator<Object> cmp = (Comparator<Object>) comparator(); return cmp.compare(a, b); } boolean rangeContains(@Nullable Object o) { return o != null
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 11.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
public void testAnd_serializationIterable() { checkSerialization(Predicates.and(Arrays.asList(TRUE, FALSE))); } public void testAnd_arrayDefensivelyCopied() { @SuppressWarnings("unchecked") // generic arrays Predicate<Object>[] array = (Predicate<Object>[]) new Predicate<?>[] {Predicates.alwaysFalse()}; Predicate<Object> predicate = Predicates.and(array); assertFalse(predicate.apply(1));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 32.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
if (isCancelled() | localInputFuture == null | localFunction == null) { return; } inputFuture = null; if (localInputFuture.isCancelled()) { @SuppressWarnings("unchecked") boolean unused = setFuture((ListenableFuture<O>) localInputFuture); // Respects cancellation cause setting return; } /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0)