Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 182 for fore (0.13 sec)

  1. android/guava/src/com/google/common/collect/HashBiMap.java

      V put(@ParametricNullness K key, @ParametricNullness V value, boolean force) {
        int keyHash = Hashing.smearedHash(key);
        int entryForKey = findEntryByKey(key, keyHash);
        if (entryForKey != ABSENT) {
          V oldValue = values[entryForKey];
          if (Objects.equal(oldValue, value)) {
            return value;
          } else {
            replaceValueInEntry(entryForKey, value, force);
            return oldValue;
          }
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       * Returns a string representation of this array in the same form as {@link
       * Arrays#toString(int[])}, for example {@code "[1, 2, 3]"}.
       */
      @Override
      public String toString() {
        if (isEmpty()) {
          return "[]";
        }
        StringBuilder builder = new StringBuilder(length() * 5); // rough estimate is fine
        builder.append('[').append(array[start]);
    
        for (int i = start + 1; i < end; i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheBuilderSpec.java

       * and form of this representation is not guaranteed, except that reparsing its output will
       * produce a {@code CacheBuilderSpec} equal to this instance.
       */
      public String toParsableString() {
        return specification;
      }
    
      /**
       * Returns a string representation for this CacheBuilderSpec instance. The form of this
       * representation is not guaranteed.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

      }
    
      /** Returns an unspecified hash code for the contents of this immutable array. */
      @Override
      public int hashCode() {
        int hash = 1;
        for (int i = start; i < end; i++) {
          hash *= 31;
          hash += Doubles.hashCode(array[i]);
        }
        return hash;
      }
    
      /**
       * Returns a string representation of this array in the same form as {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/HashBiMap.java

       * constructor calls (as does readObject()).
       */
      @SuppressWarnings("nullness:initialization.field.uninitialized") // For J2KT (see above)
      private transient @Nullable BiEntry<K, V>[] hashTableKToV;
    
      @SuppressWarnings("nullness:initialization.field.uninitialized") // For J2KT (see above)
      private transient @Nullable BiEntry<K, V>[] hashTableVToK;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Suppliers.java

       * @since 33.1.0
       */
      @Beta // only until we're confident that Java 8+ APIs are safe for our Android users
      @J2ktIncompatible
      @GwtIncompatible // java.time.Duration
      @SuppressWarnings("Java7ApiChecker") // no more dangerous that wherever the user got the Duration
      @IgnoreJRERequirement
      public static <T extends @Nullable Object> Supplier<T> memoizeWithExpiration(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/Quantiles.java

        // If we are looking for the least element in the range, we can just do a linear search for it.
        // (We will hit this whenever we are doing quantile interpolation: our first selection finds
        // the lower value, our second one finds the upper value by looking for the next least element.)
        if (required == from) {
          int min = from;
          for (int index = from + 1; index <= to; index++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Joiner.java

       * Multimap} entries in two distinct modes:
       *
       * <ul>
       *   <li>To output a separate entry for each key-value pair, pass {@code multimap.entries()} to a
       *       {@code MapJoiner} method that accepts entries as input, and receive output of the form
       *       {@code key1=A&key1=B&key2=C}.
       *   <li>To output a single entry for each key, pass {@code multimap.asMap()} to a {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Ascii.java

       * }</pre>
       *
       * <p><b>Note:</b> This method <i>may</i> work with certain non-ASCII text but is not safe for use
       * with arbitrary Unicode text. It is mostly intended for use with text that is known to be safe
       * for use with it (such as all-ASCII text) and for simple debugging text. When using this method,
       * consider the following:
       *
       * <ul>
       *   <li>it may split surrogate pairs
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Cut.java

        private BelowAll() {
          /*
           * No code ever sees this bogus value for `endpoint`: This class overrides both methods that
           * use the `endpoint` field, compareTo() and endpoint(). Additionally, the main implementation
           * of Cut.compareTo checks for belowAll before reading accessing `endpoint` on another Cut
           * instance.
           */
          super("");
        }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top