Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 2,949 for returned (0.04 sec)

  1. android/guava/src/com/google/common/base/StandardSystemProperty.java

      StandardSystemProperty(String key) {
        this.key = key;
      }
    
      /** Returns the key used to look up this system property. */
      public String key() {
        return key;
      }
    
      /**
       * Returns the current value for this system property by delegating to {@link
       * System#getProperty(String)}.
       *
       * <p>The value returned by this method is non-null except in rare circumstances:
       *
       * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 06 10:03:30 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Supplier.java

      /**
       * Retrieves an instance of the appropriate type. The returned object may or may not be a new
       * instance, depending on the implementation.
       *
       * @return an instance of the appropriate type
       */
      @Override
      @ParametricNullness
      T get();
    
      /**
       * <i>May</i> return {@code true} if {@code object} is a {@code Supplier} that behaves identically
       * to this supplier.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jun 19 17:20:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/SmallCharMatcher.java

      /**
       * Returns an array size suitable for the backing array of a hash table that uses open addressing
       * with linear probing in its implementation. The returned size is the smallest power of two that
       * can hold setSize elements with the desired load factor.
       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        if (setSize == 1) {
          return 2;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java

        return doAssertThrows(expectedThrowable, supplier, /* userPassedSupplier= */ true);
      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
        return doAssertThrows(
            expectedThrowable,
            () -> {
              runnable.run();
              return null;
            },
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

        return doAssertThrows(expectedThrowable, supplier, /* userPassedSupplier= */ true);
      }
    
      @CanIgnoreReturnValue
      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
        return doAssertThrows(
            expectedThrowable,
            () -> {
              runnable.run();
              return null;
            },
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Strings.java

      private Strings() {}
    
      /**
       * Returns the given string if it is non-null; the empty string otherwise.
       *
       * @param string the string to test and possibly return
       * @return {@code string} itself if it is non-null; {@code ""} if it is null
       */
      public static String nullToEmpty(@Nullable String string) {
        return Platform.nullToEmpty(string);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. docs/features/connections.md

    Once the response has been received, the connection will be returned to the pool so it can be reused for a future request. Connections are evicted from the pool after a period of inactivity.
    
    ### [Fast Fallback](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-ok-http-client/-builder/fast-fallback/)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Feb 21 03:33:59 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Enums.java

            clazz = enumValue.getDeclaringClass();
        try {
          return clazz.getDeclaredField(enumValue.name());
        } catch (NoSuchFieldException impossible) {
          throw new AssertionError(impossible);
        }
      }
    
      /**
       * Returns an optional enum constant for the given type, using {@link Enum#valueOf}. If the
       * constant does not exist, {@link Optional#absent} is returned. A common use case is for parsing
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 13:41:58 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/MoreCollectors.java

              state -> {
                Object result = state.getElement();
                return (result == NULL_PLACEHOLDER) ? null : result;
              },
              Collector.Characteristics.UNORDERED);
    
      /**
       * A collector that takes a stream containing exactly one element and returns that element. The
       * returned collector throws an {@code IllegalArgumentException} if the stream consists of two or
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/ChecksumHashFunction.java

          if (bits == 32) {
            /*
             * The long returned from a 32-bit Checksum will have all 0s for its second word, so the
             * cast won't lose any information and is necessary to return a HashCode of the correct
             * size.
             */
            return HashCode.fromInt((int) value);
          } else {
            return HashCode.fromLong(value);
          }
        }
      }
    
      @J2ObjCIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top