- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 131 for minimum (0.16 sec)
-
guava/src/com/google/common/collect/Comparators.java
o -> o.orElse(null), Comparator.nullsLast(valueComparator)); } /** * Returns the minimum of the two values. If the values compare as 0, the first is returned. * * <p>The recommended solution for finding the {@code minimum} of some values depends on the type * of your data and the number of elements you have. Read more in the Guava User Guide article on
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 10.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Striped.java
} // Static factories /** * Creates a {@code Striped<L>} with eagerly initialized, strongly referenced locks. Every lock is * obtained from the passed supplier. * * @param stripes the minimum number of stripes (locks) required * @param supplier a {@code Supplier<L>} object to obtain locks from * @return a new {@code Striped<L>} */ static <L> Striped<L> custom(int stripes, Supplier<L> supplier) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 10 20:55:18 GMT 2023 - 20.3K bytes - Viewed (1) -
guava/src/com/google/common/collect/CompactHashing.java
static final int HASH_TABLE_BITS_MASK = (1 << HASH_TABLE_BITS_MAX_BITS) - 1; /** Maximum size of a compact hash-based collection (2^30 - 1 because 0 is UNSET). */ static final int MAX_SIZE = Ints.MAX_POWER_OF_TWO - 1; /** Default size of a compact hash-based collection. */ static final int DEFAULT_SIZE = 3; /** * Minimum size of the hash table of a compact hash-based collection. Because small hash tables
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Aug 02 21:41:22 GMT 2021 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashing.java
static final int HASH_TABLE_BITS_MASK = (1 << HASH_TABLE_BITS_MAX_BITS) - 1; /** Maximum size of a compact hash-based collection (2^30 - 1 because 0 is UNSET). */ static final int MAX_SIZE = Ints.MAX_POWER_OF_TWO - 1; /** Default size of a compact hash-based collection. */ static final int DEFAULT_SIZE = 3; /** * Minimum size of the hash table of a compact hash-based collection. Because small hash tables
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Aug 02 21:41:22 GMT 2021 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/EmptyCachesTest.java
.withRefreshes(ImmutableSet.of(DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS))); } private static void warmUp(LoadingCache<Object, Object> cache, int minimum, int maximum) { for (int i = minimum; i < maximum; i++) { cache.getUnchecked(i); } } private Entry<Object, Object> entryOf(Object key, Object value) { return Maps.immutableEntry(key, value); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 11.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
*/ private List<Entry<Object, Object>> warmUp( LoadingCache<Object, Object> cache, int minimum, int maximum) { List<Entry<Object, Object>> entries = Lists.newArrayList(); for (int i = minimum; i < maximum; i++) { Object key = i; Object value = cache.getUnchecked(key); entries.add(entryOf(key, value)); } return entries; }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 15K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Ordering.java
* * <p><b>Java 8+ users:</b> Use {@code Streams.stream(iterator).min(thisComparator).get()} instead * (but note that it does not guarantee which tied minimum element is returned). * * @param iterator the iterator whose minimum element is to be determined * @throws NoSuchElementException if {@code iterator} is empty * @throws ClassCastException if the parameters are not <i>mutually comparable</i> under this
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 24 19:38:27 GMT 2024 - 39.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ContiguousSet.java
/** * Returns a range, closed on both ends, whose endpoints are the minimum and maximum values * contained in this set. This is equivalent to {@code range(CLOSED, CLOSED)}. * * @throws NoSuchElementException if this set is empty */ public abstract Range<C> range(); /** * Returns the minimal range with the given boundary types for which all values in this set are
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 9.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Chars.java
* specified minimum length. If {@code array} already has a length of at least {@code minLength}, * it is returned directly. Otherwise, a new array of size {@code minLength + padding} is * returned, containing the values of {@code array}, and zeroes in the remaining places. * * @param array the source array * @param minLength the minimum length the returned array must guarantee
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 23.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Doubles.java
* specified minimum length. If {@code array} already has a length of at least {@code minLength}, * it is returned directly. Otherwise, a new array of size {@code minLength + padding} is * returned, containing the values of {@code array}, and zeroes in the remaining places. * * @param array the source array * @param minLength the minimum length the returned array must guarantee
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 27.1K bytes - Viewed (0)