- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 156 for minimum (0.27 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/collect/DiscreteDomain.java
/** * Returns the minimum value of type {@code C}, if it has one. The minimum value is the unique * value for which {@link Comparable#compareTo(Object)} never returns a positive value for any * input of type {@code C}. * * <p>The default implementation throws {@code NoSuchElementException}. * * @return the minimum value of type {@code C}; never null
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 10.3K 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/DiscreteDomain.java
/** * Returns the minimum value of type {@code C}, if it has one. The minimum value is the unique * value for which {@link Comparable#compareTo(Object)} never returns a positive value for any * input of type {@code C}. * * <p>The default implementation throws {@code NoSuchElementException}. * * @return the minimum value of type {@code C}; never null
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/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) -
android/guava/src/com/google/common/collect/Comparators.java
int k, Comparator<? super T> comparator) { return least(k, comparator.reversed()); } /** * 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 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 11 08:42:51 GMT 2024 - 10K 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/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 05 12:43:09 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 9.9K bytes - Viewed (0) -
guava/src/com/google/common/base/Strings.java
* * @param string the string which should appear at the end of the result * @param minLength the minimum length the resulting string must have. Can be zero or negative, in * which case the input string is always returned. * @param padChar the character to insert at the beginning of the result until the minimum length * is reached * @return the padded string */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Sep 17 20:47:03 GMT 2021 - 12.6K bytes - Viewed (0)