- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for Mosher (0.17 sec)
-
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
} @CanIgnoreReturnValue Builder<K, V> combine(ImmutableSortedMap.Builder<K, V> other) { ensureCapacity(size + other.size); System.arraycopy(other.keys, 0, this.keys, this.size, other.size); System.arraycopy(other.values, 0, this.values, this.size, other.size); size += other.size; return this; } /** * Returns a newly-created immutable sorted map. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 53.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Preconditions.java
* * <p>As with any performance concerns, you should consider profiling your code (in a production * environment if possible) before spending a lot of effort on tweaking a particular element. * * <h3>Other types of preconditions</h3> * * <p>Not every type of precondition failure is supported by these methods. Continue to throw * standard JDK exceptions such as {@link java.util.NoSuchElementException} or {@link
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 11 11:52:14 GMT 2024 - 52.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
return Iterators.forArray(1, 2, 3); } }.test(); } /* * TODO(cpovirk): Test forArray with ListIteratorTester (not just IteratorTester), including with * a start position other than 0. */ public void testForEnumerationEmpty() { Enumeration<Integer> enumer = enumerate(); Iterator<Integer> iter = Iterators.forEnumeration(enumer); assertFalse(iter.hasNext());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 55.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
logHandler = new TestLogHandler(); LocalCache.logger.addHandler(logHandler); } @Override public void tearDown() throws Exception { super.tearDown(); // TODO(cpovirk): run tests in other thread instead of messing with main thread interrupt status currentThread().interrupted(); LocalCache.logger.removeHandler(logHandler); } private Throwable popLoggedThrowable() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 86.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
this.owner = owner; this.future = future; } @Override public void run() { if (owner.value != this) { // nothing to do, we must have been cancelled, don't bother inspecting the future. return; } Object valueToSet = getFutureValue(future); if (ATOMIC_HELPER.casValue(owner, this, valueToSet)) { complete( owner, /*
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:17:24 GMT 2024 - 63K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Synchronized.java
* * <p>This class should be used by other collection classes only. * * @author Mike Bostock * @author Jared Levy */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault /* * I have decided not to bother adding @ParametricNullness annotations in this class. Adding them is
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 53.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
throw new UnsupportedOperationException("Not available on ImmutableSortedMap.Builder"); } @Override Builder<K, V> combine(ImmutableMap.Builder<K, V> other) { super.combine(other); return this; } /** * Returns a newly-created immutable sorted map. * * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 50.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
logHandler = new TestLogHandler(); LocalCache.logger.addHandler(logHandler); } @Override public void tearDown() throws Exception { super.tearDown(); // TODO(cpovirk): run tests in other thread instead of messing with main thread interrupt status currentThread().interrupted(); LocalCache.logger.removeHandler(logHandler); } private Throwable popLoggedThrowable() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 86.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
.that(bucketsOf(map1)) .isEqualTo(initialBuckets); // Ensure that referenceMap, which doesn't use WithExpectedSize, ends up with the same table // size as the other two maps. If it ended up with a smaller size that would imply that we // computed the wrong initial capacity. for (int i = 0; i < size; i++) { referenceMap.put(i, null); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 16:06:01 GMT 2024 - 67.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
.that(bucketsOf(map1)) .isEqualTo(initialBuckets); // Ensure that referenceMap, which doesn't use WithExpectedSize, ends up with the same table // size as the other two maps. If it ended up with a smaller size that would imply that we // computed the wrong initial capacity. for (int i = 0; i < size; i++) { referenceMap.put(i, null); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 16:06:01 GMT 2024 - 64.3K bytes - Viewed (0)