- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 316 for Walls (0.16 sec)
-
android/guava/src/com/google/common/util/concurrent/Service.java
* suggested that listeners are added before the service starts. * * <p>{@code addListener} guarantees execution ordering across calls to a given listener but not * across calls to multiple listeners. Specifically, a given listener will have its callbacks * invoked in the same order as the underlying service enters those states. Additionally, at most
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 04 09:45:04 GMT 2023 - 10.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java
@SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum CollectionFeature implements Feature<Collection> { /** * The collection must not throw {@code NullPointerException} on calls such as {@code * contains(null)} or {@code remove(null)}, but instead must return a simple {@code false}. */ ALLOWS_NULL_QUERIES, ALLOWS_NULL_VALUES(ALLOWS_NULL_QUERIES), /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
import java.util.Map; import java.util.Map.Entry; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A map entry which forwards all its method calls to another map entry. Subclasses should override * one or more methods to modify the behavior of the backing map entry as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Mar 19 19:28:11 GMT 2024 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/SubtypeTester.java
* return notSubtype(intList); * } * } * * public void testMySubtypes() throws Exception { * new MySubtypeTests().testAllDeclarations(); * } * }</pre> * * The calls to {@link #isSubtype} and {@link #notSubtype} tells the framework what assertions need * to be made. * * <p>The declaration methods must be public. */ @AndroidIncompatible // only used by android incompatible tests.
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
// For each listener we add a task that submits it to the executor directly for the blocking // get use case and another task that adds it as a listener to the future to exercise both // racing addListener calls and addListener calls completing after the future completes. final Runnable listener = k % 2 == 0 ? collectResultsRunnable : collectResultsTimedGetRunnable; allTasks.add(Executors.callable(listener));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 46.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderFactory.java
* call the associated CacheBuilder method" - that is, get the default CacheBuilder behavior. This * method wraps the elements in the input sets (which may contain null) as Optionals, calls * Sets.cartesianProduct with those, then transforms the result to unwrap the Optionals. */ private Iterable<List<Object>> buildCartesianProduct(Set<?>... sets) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 8.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
assertSame(x, y); } catch (AssertionFailedError t) { threadRecordFailure(t); throw t; } } /** Calls threadFail with message "should throw exception". */ public void threadShouldThrow() { threadFail("should throw exception"); } /** Calls threadFail with message "should throw" + exceptionName. */ public void threadShouldThrow(String exceptionName) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 37.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
* * <p>This bug is this: if you create an iterator from a TreeSet and call next() on that iterator * when hasNext() is false, so that next() throws a NoSuchElementException, then subsequent calls * to remove() will incorrectly throw an IllegalStateException, instead of removing the last * element returned. * * <p>See <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6529795">Sun bug 6529795</a>
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 10.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
assertTrue(bb.remaining() < bufferSize); int before = processCalled; super.processRemaining(bb); int after = processCalled; assertEquals(before + 1, after); // default implementation pads and calls process() processCalled--; // don't count the tail invocation (makes tests a bit more understandable) } // ensures that the number of invocations looks sane void assertInvariants(int expectedBytes) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
private static Function<Integer, Integer> newOneTimeExceptionThrower() { return new Function<Integer, Integer>() { int calls = 0; @Override public Integer apply(Integer from) { if (++calls > 1) { fail(); } throw new MyRuntimeException(); } }; } @J2ktIncompatible
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0)