- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 804 for value (0.17 sec)
-
guava/src/com/google/common/collect/DiscreteDomain.java
/** * Returns the unique greatest value of type {@code C} that is less than {@code value}, or {@code * null} if none exists. Inverse operation to {@link #next}. * * @param value any value of type {@code C} * @return the greatest value less than {@code value}, or {@code null} if {@code value} is {@code * minValue()} */ @CheckForNull public abstract C previous(C value); /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 10.3K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilderSpec.java
public final class CacheBuilderSpec { /** Parses a single value. */ private interface ValueParser { void parse(CacheBuilderSpec spec, String key, @CheckForNull String value); } /** Splits each key-value pair. */ private static final Splitter KEYS_SPLITTER = Splitter.on(',').trimResults(); /** Splits the key from the value. */ private static final Splitter KEY_VALUE_SPLITTER = Splitter.on('=').trimResults();
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) -
guava/src/com/google/common/collect/HashBiMap.java
} @CheckForNull private V put(@ParametricNullness K key, @ParametricNullness V value, boolean force) { int keyHash = smearedHash(key); int valueHash = smearedHash(value); BiEntry<K, V> oldEntryForKey = seekByKey(key, keyHash); if (oldEntryForKey != null && valueHash == oldEntryForKey.valueHash && Objects.equal(value, oldEntryForKey.value)) { return value;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 24.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
private static final double[] VALUES = { Double.NEGATIVE_INFINITY, -Double.MAX_VALUE, (double) Long.MIN_VALUE, (double) Integer.MIN_VALUE, -Math.PI, -1.0, -Double.MIN_VALUE, -0.0, +0.0, Double.MIN_VALUE, 1.0, Math.PI, (double) Integer.MAX_VALUE, (double) Long.MAX_VALUE, Double.MAX_VALUE, Double.POSITIVE_INFINITY, Double.NaN,
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 14.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
} @Override public V get(Object key) { checkNotNull(key); Timestamped<V> value = cachingHashMap.get(key); if (value == null) { statsCounter.recordMisses(1); return null; } else if (!isExpired(value)) { statsCounter.recordHits(1); value.updateTimestamp(); return value.getValue(); } else { statsCounter.recordEviction(); statsCounter.recordMisses(1);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 21.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
*/ @Override public boolean containsValue(@CheckForNull Object value) { return findEntryByValue(value) != ABSENT; } @Override @CheckForNull public V get(@CheckForNull Object key) { int entry = findEntryByKey(key); return (entry == ABSENT) ? null : values[entry]; } @CheckForNull K getInverse(@CheckForNull Object value) { int entry = findEntryByValue(value);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 06 16:06:58 GMT 2023 - 36.4K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LoadingCache.java
* {@code key}, simply waits for that thread to finish and returns its loaded value. Note that * multiple threads can concurrently load values for distinct keys. * * <p>Caches loaded by a {@link CacheLoader} will call {@link CacheLoader#load} to load new values * into the cache. Newly loaded values are added to the cache using {@code
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sat Aug 06 17:12:03 GMT 2022 - 8.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
return generateListMultimap(key, value); } @Generates static <K, V> ImmutableMultimap<K, V> generateImmutableMultimap(K key, V value) { return ImmutableMultimap.of(key, value); } @Generates static <K, V> ListMultimap<K, V> generateListMultimap(@Nullable K key, @Nullable V value) { return generateArrayListMultimap(key, value); } @Generates
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 28K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TableCollectors.java
return column; } @Override public V getValue() { return value; } void merge(V value, BinaryOperator<V> mergeFunction) { checkNotNull(value, "value"); this.value = checkNotNull(mergeFunction.apply(this.value, value), "mergeFunction.apply"); } } private static <R extends @Nullable Object, C extends @Nullable Object, V> void mergeTables(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Sat Mar 09 00:21:17 GMT 2024 - 7.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimap.java
/** * Returns {@code true} if this multimap contains at least one key-value pair with the value * {@code value}. */ boolean containsValue(@CompatibleWith("V") @CheckForNull Object value); /** * Returns {@code true} if this multimap contains at least one key-value pair with the key {@code * key} and the value {@code value}. */ boolean containsEntry( @CompatibleWith("K") @CheckForNull Object key,
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)