Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for form (0.18 sec)

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

       *
       * <p>The returned supplier is thread-safe. The delegate's {@code get()} method will be invoked at
       * most once unless the underlying {@code get()} throws an exception. The supplier's serialized
       * form does not contain the cached value, which will be recalculated when {@code get()} is called
       * on the deserialized instance.
       *
       * <p>When the underlying delegate throws an exception then this memoizing supplier will keep
    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)
  2. android/guava-tests/test/com/google/common/base/AsciiTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Ascii}.
     *
     * @author Craig Berry
     */
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. guava/src/com/google/common/cache/Striped64.java

      }
    
      /** CASes the busy field from 0 to 1 to acquire lock. */
      final boolean casBusy() {
        return UNSAFE.compareAndSwapInt(this, busyOffset, 0, 1);
      }
    
      /**
       * Computes the function of current and new value. Subclasses should open-code this update
       * function for most uses, but the virtualized form is needed within retryUpdate.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

            // Note that there is a race condition here which can result in missing
            // a cyclic edge: it's possible for two threads to simultaneous find
            // "safe" edges which together form a cycle. Preventing this race
            // condition efficiently without _introducing_ deadlock is probably
            // tricky. For now, just accept the race condition---missing a warning
            // now and then is still better than having no deadlock detection.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableRangeMap.java

          entries.add(Maps.immutableEntry(range, value));
          return this;
        }
    
        /** Copies all associations from the specified range map into this builder. */
        @CanIgnoreReturnValue
        public Builder<K, V> putAll(RangeMap<K, ? extends V> rangeMap) {
          for (Entry<Range<K>, ? extends V> entry : rangeMap.asMapOfRanges().entrySet()) {
            put(entry.getKey(), entry.getValue());
          }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/BiMap.java

       *     #forcePut} instead.
       */
      @CanIgnoreReturnValue
      @Override
      @CheckForNull
      V put(@ParametricNullness K key, @ParametricNullness V value);
    
      /**
       * An alternate form of {@code put} that silently removes any existing entry with the value {@code
       * value} before proceeding with the {@link #put} operation. If the bimap previously contained the
       * provided key-value mapping, this method has no effect.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hashing.java

       * Comparisons between the two should take this into account.
       *
       * <p>Fingerprint2011() is a form of Murmur2 on strings up to 32 bytes and a form of CityHash for
       * longer strings. It could have been one or the other throughout. The main advantage of the
       * combination is that CityHash has a bunch of special cases for short strings that don't need to
       * be replicated here. The result will never be 0 or 1.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multimap.java

     * removeAll} methods, which contain values that have just been removed from the multimap, are
     * naturally <i>not</i> views.
     *
     * <h3>Subinterfaces</h3>
     *
     * <p>Instead of using the {@code Multimap} interface directly, prefer the subinterfaces {@link
     * ListMultimap} and {@link SetMultimap}. These take their names from the fact that the collections
     * they return from {@code get} behave like (and, of course, implement) {@link List} and {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
Back to top