- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 690 for checked (0.49 sec)
-
guava/src/com/google/common/cache/LoadingCache.java
* * <p><b>Warning:</b> this method silently converts checked exceptions to unchecked exceptions, * and should not be used with cache loaders which throw checked exceptions. In such cases use * {@link #get} instead. * * @throws UncheckedExecutionException if an exception was thrown while loading the value. (As * explained in the last paragraph above, this should be an unchecked exception only.)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat Aug 06 17:12:03 UTC 2022 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java
* https://github.com/jspecify/jspecify-reference-checker/blob/61aafa4ae52594830cfc2d61c8b113009dbdb045/src/main/java/com/google/jspecify/nullness/NullSpecTransfer.java#L789 * and https://github.com/jspecify/jspecify/issues/490. * * (Perhaps it should also have required that its cause was a RuntimeException. However, that * would have required that we throw a different kind of exception for wrapping *checked*
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Mar 07 17:52:19 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LoadingCache.java
* * <p><b>Warning:</b> this method silently converts checked exceptions to unchecked exceptions, * and should not be used with cache loaders which throw checked exceptions. In such cases use * {@link #get} instead. * * @throws UncheckedExecutionException if an exception was thrown while loading the value. (As * explained in the last paragraph above, this should be an unchecked exception only.)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat Aug 06 17:12:03 UTC 2022 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ImmediateFuture.java
@SuppressWarnings("CatchingUnchecked") // sneaky checked exception public void addListener(Runnable listener, Executor executor) { checkNotNull(listener, "Runnable was null."); checkNotNull(executor, "Executor was null."); try { executor.execute(listener); } catch (Exception e) { // sneaky checked exception // ListenableFuture's contract is that it will not throw unchecked exceptions, so log the bad
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Dec 13 19:45:20 UTC 2023 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java
* https://github.com/jspecify/jspecify-reference-checker/blob/61aafa4ae52594830cfc2d61c8b113009dbdb045/src/main/java/com/google/jspecify/nullness/NullSpecTransfer.java#L789 * and https://github.com/jspecify/jspecify/issues/490. * * (Perhaps it should also have required that its cause was a RuntimeException. However, that * would have required that we throw a different kind of exception for wrapping *checked*
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Mar 07 17:52:19 UTC 2024 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
} /** * Dispatches all listeners {@linkplain #enqueue enqueued} prior to this call, serially and in * order. */ @SuppressWarnings("CatchingUnchecked") // sneaky checked exception void dispatch() { boolean scheduleEventRunner = false; synchronized (this) { if (!isThreadScheduled) { isThreadScheduled = true; scheduleEventRunner = true;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Dec 13 19:45:20 UTC 2023 - 8.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSortedMultiset.java
@ParametricNullness E fromElement, BoundType fromBoundType, @ParametricNullness E toElement, BoundType toBoundType) { // These are checked elsewhere, but NullPointerTester wants them checked eagerly. checkNotNull(fromBoundType); checkNotNull(toBoundType); return tailMultiset(fromElement, fromBoundType).headMultiset(toElement, toBoundType); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 26 21:02:13 UTC 2023 - 4.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/AbstractSortedMultiset.java
} return null; } @Override public SortedMultiset<E> subMultiset( E fromElement, BoundType fromBoundType, E toElement, BoundType toBoundType) { // These are checked elsewhere, but NullPointerTester wants them checked eagerly. checkNotNull(fromBoundType); checkNotNull(toBoundType); return tailMultiset(fromElement, fromBoundType).headMultiset(toElement, toBoundType); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 4.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractSortedMultiset.java
@ParametricNullness E fromElement, BoundType fromBoundType, @ParametricNullness E toElement, BoundType toBoundType) { // These are checked elsewhere, but NullPointerTester wants them checked eagerly. checkNotNull(fromBoundType); checkNotNull(toBoundType); return tailMultiset(fromElement, fromBoundType).headMultiset(toElement, toBoundType); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 26 21:02:13 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/parsingUtil.kt
interface CheckBarrierContext { fun <T : LanguageTreeElement> checked(result: CheckedResult<ElementResult<T>>): T { val value = result.value check(value is Element<T>) return value.element } fun <T> checked(result: CheckedResult<SyntacticResult<T>>): T { val value = result.value check(value is Syntactic<T>) return value.value }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 10:53:44 UTC 2024 - 3.9K bytes - Viewed (0)