- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 111 for Callers (0.19 sec)
-
android/guava/src/com/google/common/util/concurrent/TimeLimiter.java
* exception is propagated to the caller exactly as-is. If, on the other hand, the time limit is * reached, the proxy will attempt to abort the call to the target, and will throw an {@link * UncheckedTimeoutException} to the caller. * * <p>It is important to note that the primary purpose of the proxy object is to return control to
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 18:32:03 GMT 2023 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/NullnessCasts.java
* code would be responsible for populating a "real" {@code T} (which might still be the value * {@code null}!) before returning it to callers. Depending on how the code is structured, a * nullness analysis might not understand that the field has been populated. To avoid that problem * without having to add {@code @SuppressWarnings}, the code can call this method.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 10 20:36:34 GMT 2022 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
ATOMIC_HELPER.compareAndSetSeenExceptions(this, null, seenExceptionsLocal); /* * If another handleException() caller created the set, we need to use that copy in case yet * other callers have added to it. * * This read is guaranteed to get us the right value because we only set this once (here). *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Dec 14 20:35:03 GMT 2023 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableList.java
* requireNonNull is safe because the callers promise to put non-null objects in the first * `length` array elements. */ @SuppressWarnings("unchecked") // our callers put only E instances into the array E onlyElement = (E) requireNonNull(elements[0]); return of(onlyElement); default: /* * The suppression is safe because the callers promise to put non-null objects in the first
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 30K bytes - Viewed (1) -
guava/src/com/google/common/collect/ImmutableEnumSet.java
int result = hashCode; return (result == 0) ? hashCode = delegate.hashCode() : result; } @Override public String toString() { return delegate.toString(); } // All callers of the constructor are restricted to <E extends Enum<E>>. @Override @J2ktIncompatible // serialization Object writeReplace() { return new EnumSerializedForm<E>(delegate); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 4.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/NullnessCasts.java
* code would be responsible for populating a "real" {@code T} (which might still be the value * {@code null}!) before returning it to callers. Depending on how the code is structured, a * nullness analysis might not understand that the field has been populated. To avoid that problem * without having to add {@code @SuppressWarnings}, the code can call this method.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 10 20:36:34 GMT 2022 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSequenceReader.java
return seq.length() - pos; } /* * To avoid the need to call requireNonNull so much, we could consider more clever approaches, * such as: * * - Make checkOpen return the non-null `seq`. Then callers can assign that to a local variable or * even back to `this.seq`. However, that may suggest that we're defending against concurrent * mutation, which is not an actual risk because we use `synchronized`.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 4.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
} /** * Wrapper for {@link Map#get(Object)} that forces the caller to pass in a key of the same type as * the map. Besides being slightly shorter than code that uses {@link #getMap()}, it also ensures * that callers don't pass an {@link Entry} by mistake. */ protected V get(K key) { return getMap().get(key); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java
/** * Creates a TimeLimiter instance using the given executor service to execute method calls. * * <p><b>Warning:</b> using a bounded executor may be counterproductive! If the thread pool fills * up, any time callers spend waiting for a thread may count toward their time limit, and in this * case the call may even time out before the target method is ever invoked. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jun 27 14:21:11 GMT 2023 - 9.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
* supertype of `Function<A, B>` turns out to be massively more useful to callers in practice: They * want their output to be non-null in operations like `stream.map(myConverter)`, and we can * guarantee that as long as we also require the input type to be non-null[*] (which is a * requirement that existing callers already fulfill). * * Disclaimer: Part of the reason that callers are so well adapted to `Function<A, B>` may be that
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 23K bytes - Viewed (0)