- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for Valid (0.12 sec)
-
guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
@Override public ListenableFuture<String> apply(Integer input) throws Exception { switch (input) { case VALID_INPUT_DATA: outputFuture.set(RESULT_DATA); break; case SLOW_OUTPUT_VALID_INPUT_DATA: break; // do nothing to the result case SLOW_FUNC_VALID_INPUT_DATA: funcIsWaitingLatch.countDown(); awaitUninterruptibly(funcCompletionLatch); break;
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java
* containers with a known order other than insertion order must override this method. * * <p>Note: This default implementation is overkill (but valid) for an unordered container. An * equally valid implementation for an unordered container is to throw an exception. The chosen * implementation, however, has the advantage of working for insertion-ordered containers, as * well. */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java
* containers with a known order other than insertion order must override this method. * * <p>Note: This default implementation is overkill (but valid) for an unordered container. An * equally valid implementation for an unordered container is to throw an exception. The chosen * implementation, however, has the advantage of working for insertion-ordered containers, as * well. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
@Override public ListenableFuture<String> apply(Integer input) throws Exception { switch (input) { case VALID_INPUT_DATA: outputFuture.set(RESULT_DATA); break; case SLOW_OUTPUT_VALID_INPUT_DATA: break; // do nothing to the result case SLOW_FUNC_VALID_INPUT_DATA: funcIsWaitingLatch.countDown(); awaitUninterruptibly(funcCompletionLatch); break;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java
listener.assertException(error); } public void testAddListenerAfterCallback() throws Throwable { inputFuture.set(VALID_INPUT_DATA); listener.assertSuccess(getSuccessfulResult()); } public void testFutureBeforeCallback() throws Throwable { inputFuture.set(VALID_INPUT_DATA); listener.assertSuccess(getSuccessfulResult()); } public void testInputFutureToString() throws Throwable {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java
return RESULT_DATA; } private class ComposeFunction implements Function<Integer, String> { @Override public String apply(Integer input) { if (input.intValue() == VALID_INPUT_DATA) { return RESULT_DATA; } else { throw WRAPPED_EXCEPTION; } } } public void testFutureGetThrowsFunctionException() throws Exception {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 28 16:27:15 GMT 2018 - 1.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java
* containers with a known order other than insertion order must override this method. * * <p>Note: This default implementation is overkill (but valid) for an unordered container. An * equally valid implementation for an unordered container is to throw an exception. The chosen * implementation, however, has the advantage of working for insertion-ordered containers, as * well. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 2.1K bytes - Viewed (0) -
guava/src/com/google/common/cache/ReferenceEntry.java
import javax.annotation.CheckForNull; /** * An entry in a reference map. * * <p>Entries in the map can be in the following states: * * <p>Valid: * * <ul> * <li>Live: valid key/value are set * <li>Loading: loading is pending * </ul> * * <p>Invalid: * * <ul> * <li>Expired: time expired (key/value may still be set)
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/net/HostSpecifier.java
* parsing fails. Always use this method in preference to {@link #fromValid(String)} for a * specifier that is not already known to be valid. * * @throws ParseException if the specifier is not valid. */ @CanIgnoreReturnValue // TODO(b/219820829): consider removing public static HostSpecifier from(String specifier) throws ParseException { try {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 05 09:18:40 GMT 2023 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java
listener.assertException(error); } public void testAddListenerAfterCallback() throws Throwable { inputFuture.set(VALID_INPUT_DATA); listener.assertSuccess(getSuccessfulResult()); } public void testFutureBeforeCallback() throws Throwable { inputFuture.set(VALID_INPUT_DATA); listener.assertSuccess(getSuccessfulResult()); } public void testInputFutureToString() throws Throwable {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.4K bytes - Viewed (0)