Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for discouraged (0.08 seconds)

  1. guava/src/com/google/common/base/Predicates.java

     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible
    public final class Predicates {
    
      /**
       * Returns a predicate that always evaluates to {@code true}.
       *
       * <p><b>Discouraged:</b> Prefer using {@code x -> true}, but note that lambdas do not have
       * human-readable {@link #toString()} representations and are not serializable.
       */
      public static <T extends @Nullable Object> Predicate<T> alwaysTrue() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ComparisonChain.java

       * of this comparison chain has not already been determined.
       */
      public abstract ComparisonChain compare(double left, double right);
    
      /**
       * Discouraged synonym for {@link #compareFalseFirst}.
       *
       * @deprecated Use {@link #compareFalseFirst}; or, if the parameters passed are being either
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/Functions.java

          return o.toString();
        }
    
        @Override
        public String toString() {
          return "Functions.toStringFunction()";
        }
      }
    
      /**
       * Returns the identity function.
       *
       * <p><b>Discouraged:</b> Prefer using a lambda like {@code v -> v}, which is shorter and often
       * more readable.
       */
      // implementation is "fully variant"; E has become a "pass-through" type
      @SuppressWarnings("unchecked")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/Suppliers.java

        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns a supplier that always supplies {@code instance}.
       *
       * <p><b>Discouraged:</b> Prefer using {@code () -> instance}, but note that lambdas do not have
       * human-readable {@link #toString()} representations and are not serializable. If you need a
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/Optional.java

       *
       * @throws IllegalStateException if the instance is absent ({@link #isPresent} returns {@code
       *     false}); depending on this <i>specific</i> exception type (over the more general {@link
       *     RuntimeException}) is discouraged
       */
      public abstract T get();
    
      /**
       * Returns the contained instance if it is present; {@code defaultValue} otherwise. If no default
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/base/Verify.java

     *       recommend using our {@link VerifyException} exception type. Throwing a plain {@link
     *       RuntimeException} is frowned upon.
     *   <li>Use of {@link java.util.Objects#requireNonNull(Object)} is generally discouraged, since
     *       {@link #verifyNotNull(Object)} and {@link Preconditions#checkNotNull(Object)} perform the
     *       same function with more clarity.
     * </ul>
     *
     * <h3>Warning about performance</h3>
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  7. guava/src/com/google/common/base/Throwables.java

        }
      }
    
      /**
       * Propagates {@code throwable} exactly as-is, if and only if it is an instance of {@link
       * RuntimeException}, {@link Error}, or {@code declaredType}.
       *
       * <p><b>Discouraged</b> in favor of calling {@link #throwIfInstanceOf} and {@link
       * #throwIfUnchecked}.
       *
       * @param throwable the Throwable to possibly propagate
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  8. CONTRIBUTING.md

     * limitations under the License.
     */
    ```
    
    ### Submitting Your Change
    
    After you submit your pull request, a Gradle developer will review it. It is normal for this to take several iterations, so don't get discouraged by change requests. They ensure the high quality that we all enjoy.
    
    If you need to check on [CI](http://builds.gradle.org/) status as an external contributor, you can click "Log in as guest".
    
    ## Useful tips
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Nov 25 06:57:22 GMT 2025
    - 19K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/FluentIterable.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.SortedSet;
    import java.util.stream.Stream;
    import org.jspecify.annotations.NonNull;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A discouraged (but not deprecated) precursor to Java's superior {@link Stream} library.
     *
     * <p>The following types of methods are provided:
     *
     * <ul>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  10. guava/src/com/google/common/io/CharStreams.java

       * Reader#readAllLines()}. The two may have different performance characteristics for different
       * {@link Reader} classes and Java versions, but both methods read the entire input into memory
       * immediately, so we discourage use of both when memory usage is a concern.
       *
       * @param r the object to read from
       * @return a mutable {@link List} containing all the lines
       * @throws IOException if an I/O error occurs
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 29 13:56:24 GMT 2025
    - 11.9K bytes
    - Click Count (0)
Back to Top