- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 210 for single (0.23 sec)
-
guava-tests/test/com/google/common/graph/TraverserTest.java
*/ private static final SuccessorsFunction<Character> TWO_TREES = createDirectedGraph("ab", "cd"); /** * A graph consisting of a single root {@code a}: * * <pre>{@code * a * }</pre> */ private static final SuccessorsFunction<Character> SINGLE_ROOT = createSingleRootGraph(); /** * A graph that is not a tree (for example, it has two antiparallel edge between {@code e} and
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 47.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheEvictionTest.java
assertThat(removalListener.getCount()).isEqualTo(2); // Should we pepper more of these calls throughout the above? Where? CacheTesting.checkValidState(cache); } /** * Tests that when a single entry exceeds the segment's max weight, the new entry is immediately * evicted and nothing else. */ public void testEviction_maxWeight_entryTooBig() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 14.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
} // wait for entries to expire, but don't call expireEntries ticker.advance(EXPIRING_TIME * 10, MILLISECONDS); // add a single unexpired entry cache.getUnchecked(KEY_PREFIX + 11); // collections views shouldn't expose expired entries assertEquals(1, Iterators.size(cache.asMap().entrySet().iterator()));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Aug 05 17:21:46 GMT 2022 - 18.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
@SuppressWarnings("unchecked") // Since it's unmodifiable, the covariant cast is safe Iterable<T> result = (Iterable<T>) iterable; return result; } return new UnmodifiableIterable<>(iterable); } /** * Simply returns its argument. * * @deprecated no need to use this * @since 10.0 */ @Deprecated
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 19:38:27 GMT 2024 - 42.8K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilderSpec.java
* CacheBuilder#from(CacheBuilderSpec)} or {@link CacheBuilder#from(String)}. * * @author Adam Winer * @since 12.0 */ @SuppressWarnings("GoodTime") // lots of violations (nanosecond math) @GwtIncompatible @ElementTypesAreNonnullByDefault public final class CacheBuilderSpec { /** Parses a single value. */ private interface ValueParser { void parse(CacheBuilderSpec spec, String key, @CheckForNull String value); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Aug 22 14:27:44 GMT 2022 - 18.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Ascii.java
* * @since 8.0 */ public static final byte DC2 = 18; /** * Device Control 3. Characters for the control of ancillary devices associated with data * processing or telecommunication systems, more especially switching devices "on" or "off." (If a * single "stop" control is required to interrupt or turn off ancillary devices, DC4 is the * preferred assignment.) * * @since 8.0 */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jul 19 15:43:07 GMT 2021 - 21.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableRangeMap.java
*/ @SuppressWarnings("unchecked") public static <K extends Comparable<?>, V> ImmutableRangeMap<K, V> of() { return (ImmutableRangeMap<K, V>) EMPTY; } /** Returns an immutable range map mapping a single range to a single value. */ public static <K extends Comparable<?>, V> ImmutableRangeMap<K, V> of(Range<K> range, V value) { return new ImmutableRangeMap<>(ImmutableList.of(range), ImmutableList.of(value)); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 14.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheExpirationTest.java
} // wait for entries to expire, but don't call expireEntries ticker.advance(EXPIRING_TIME * 10, MILLISECONDS); // add a single unexpired entry cache.getUnchecked(KEY_PREFIX + 11); // collections views shouldn't expose expired entries assertEquals(1, Iterators.size(cache.asMap().entrySet().iterator()));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Aug 05 17:21:46 GMT 2022 - 18.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimap.java
* map from keys to <i>nonempty</i> collections of values: * * <ul> * <li>a → 1, 2 * <li>b → 3 * </ul> * * ... or as a single "flattened" collection of key-value pairs: * * <ul> * <li>a → 1 * <li>a → 2 * <li>b → 3 * </ul> * * <p><b>Important:</b> although the first interpretation resembles how most multimaps are
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sat Jun 17 14:40:53 GMT 2023 - 15.1K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheStats.java
* loaded) value, or null. Multiple concurrent calls to {@link Cache} lookup methods on an absent * value can result in multiple misses, all returning the results of a single cache load * operation. */ public long missCount() { return missCount; } /** * Returns the ratio of cache requests which were misses. This is defined as {@code missCount /
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Sun Aug 07 02:38:22 GMT 2022 - 12.6K bytes - Viewed (0)