- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for recommended (0.18 sec)
-
android/guava/src/com/google/common/collect/Comparators.java
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 May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 10.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
* * <p>The constructed {@code BloomFilter} will be serializable if the provided {@code Funnel<T>} * is. * * <p>It is recommended that the funnel be implemented as a Java enum. This has the benefit of * ensuring proper serialization and deserialization, which is important since {@link #equals} * also relies on object identity of funnels. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 23.1K bytes - Viewed (0) -
guava/src/com/google/common/base/Optional.java
* OptionalLong} and {@code OptionalDouble}, the use of which is recommended; Guava does not * have these. * </ul> * * <p><b>There are no plans to deprecate this class in the foreseeable future.</b> However, we do * gently recommend that you prefer the new, standard Java class whenever possible. * * <p>See the Guava User Guide article on <a
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 14.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
* The {@link Iterators} analog to this method is {@link Iterators#getNext}. * * <p>If no default value is desired (and the caller instead wants a {@link * NoSuchElementException} to be thrown), it is recommended that {@code * iterable.iterator().next()} is used instead. * * <p>To get the only element in a single-element {@code Iterable}, consider using {@link
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) -
android/guava/src/com/google/common/base/Preconditions.java
* * <h3>Non-preconditions</h3> * * <p>It is of course possible to use the methods of this class to check for invalid conditions * which are <i>not the caller's fault</i>. Doing so is <b>not recommended</b> because it is * misleading to future readers of the code and of stack traces. See <a * href="https://github.com/google/guava/wiki/ConditionalFailuresExplained">Conditional failures
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) -
android/guava/src/com/google/common/base/Optional.java
* OptionalLong} and {@code OptionalDouble}, the use of which is recommended; Guava does not * have these. * </ul> * * <p><b>There are no plans to deprecate this class in the foreseeable future.</b> However, we do * gently recommend that you prefer the new, standard Java class whenever possible. * * <p>See the Guava User Guide article on <a
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 13K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractNetwork.java
import java.util.AbstractSet; import java.util.Iterator; import java.util.Map; import java.util.Set; import javax.annotation.CheckForNull; /** * This class provides a skeletal implementation of {@link Network}. It is recommended to extend * this class rather than implement {@link Network} directly. * * <p>The methods implemented in this class should not be overridden unless the subclass admits a * more efficient implementation. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Mar 13 18:17:09 GMT 2024 - 10.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
* {@link Collections#singleton(Object)} and <a * href="https://docs.oracle.com/javase/9/docs/api/java/util/Set.html#immutable">{@code Set.of}</a>, * we recommend using <i>these</i> classes instead for this reason (as well as for consistency). * * <h4>Creation</h4> * * <p>Except for logically "abstract" types like {@code ImmutableCollection} itself, each {@code
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 18.7K bytes - Viewed (1) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* {@link Collections#singleton(Object)} and <a * href="https://docs.oracle.com/javase/9/docs/api/java/util/Set.html#immutable">{@code Set.of}</a>, * we recommend using <i>these</i> classes instead for this reason (as well as for consistency). * * <h4>Creation</h4> * * <p>Except for logically "abstract" types like {@code ImmutableCollection} itself, each {@code
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 21.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* IllegalArgumentException, since the call could succeed with a different argument. Those * exceptions' docs suggest that either is acceptable. Google's Java Practices page recommends * IllegalArgumentException here, in part to keep its recommendation simple: Static methods * should throw IllegalStateException only when they use static state. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 59.6K bytes - Viewed (0)