Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 30 for discouraged (0.07 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  2. android/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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/Predicate.java

     * version of this interface will be made to <i>extend</i> {@code java.util.function.Predicate}, so
     * that conversion will be necessary in only one direction. At that time, this interface will be
     * officially discouraged.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible
    public interface Predicate<T extends @Nullable Object> {
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 18 15:22:00 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/base/Supplier.java

     * java.util.function.Supplier}, making conversion code necessary only in one direction. At that
     * time, this interface will be officially discouraged.
     *
     * @author Harry Heymann
     * @since 2.0
     */
    @GwtCompatible
    public interface Supplier<T extends @Nullable Object> {
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jun 19 17:20:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/Function.java

     * version of {@code com.google.common.base.Function} will be made to <i>extend</i> {@code
     * java.util.function.Function}, making conversion code necessary only in one direction. At that
     * time, this interface will be officially discouraged.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible
    public interface Function<F extends @Nullable Object, T extends @Nullable Object> {
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 10 01:47:55 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/body.md

    Sending a body with a `GET` request has an undefined behavior in the specifications, nevertheless, it is supported by FastAPI, only for very complex/extreme use cases.
    
    As it is discouraged, the interactive docs with Swagger UI won't show the documentation for the body when using `GET`, and proxies in the middle might not support it.
    
    ///
    
    ## Import Pydantic's `BaseModel` { #import-pydantics-basemodel }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

      /**
       * Sets the priority for new threads created with this ThreadFactory.
       *
       * <p><b>Warning:</b> relying on the thread scheduler is <a
       * href="http://errorprone.info/bugpattern/ThreadPriorityCheck">discouraged</a>.
       *
       * <p><b>Java 21+ users:</b> use {@link Thread.Builder.OfPlatform#priority(int)} instead.
       *
       * @param priority the priority for new Threads created with this ThreadFactory
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * #expectContents(Object[]) expectContents(E...)} and other convenience methods. The creation of
       * multiple containers in a single method is discouraged in most cases, but it is vital to the
       * iterator tests.
       *
       * @return the new container instance
       * @param newValue the new container instance
       */
      @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * #expectContents(Object[]) expectContents(E...)} and other convenience methods. The creation of
       * multiple containers in a single method is discouraged in most cases, but it is vital to the
       * iterator tests.
       *
       * @return the new container instance
       * @param newValue the new container instance
       */
      @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/FileBackedOutputStream.java

     *       <strong>AND</strong> this stream was constructed with {@linkplain
     *       #FileBackedOutputStream(int, boolean) the two-arg constructor} with {@code true} for the
     *       second parameter. Relying on this second approach is discouraged.
     * </ul>
     *
     * <p>This class is thread-safe.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @Beta
    @J2ktIncompatible
    @GwtIncompatible
    @J2ObjCIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
Back to Top