Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 342 for Caller (0.25 sec)

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

       * The {@link Iterators} analog to this method is {@link Iterators#getNext}.
       *
       * <p>If no default value is desired (and the caller instead wants a {@link
       * NoSuchElementException} to be thrown), it is recommended that {@code
       * iterable.iterator().next()} is used instead.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Preconditions.java

     *   // calculate square root
     * }
     * }</pre>
     *
     * <p>so that a hypothetical bad caller of this method, such as:
     *
     * <pre>{@code
     * void exampleBadCaller() {
     *   double d = sqrt(-1.0);
     * }
     * }</pre>
     *
     * <p>would be flagged as having called {@code sqrt()} with an illegal argument.
     *
     * <h3>Performance</h3>
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/HashCode.java

       * most-significant bytes.
       *
       * @since 14.0 (since 11.0 as {@code Hashing.padToLong(HashCode)})
       */
      public abstract long padToLong();
    
      /**
       * Returns the value of this hash code as a byte array. The caller may modify the byte array;
       * changes to it will <i>not</i> be reflected in this {@code HashCode} object or any other arrays
       * returned by this method.
       */
      // TODO(user): consider ByteString here, when that is available
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       * convenient. It is invoked exactly once on service shutdown, even when {@link #stopAsync} is
       * called multiple times.
       *
       * <p>When this method is called {@link #state()} will return {@link State#STOPPING}, which is the
       * external state observable by the caller of {@link #stopAsync}.
       *
       * @since 27.0
       */
      @ForOverride
      protected void doCancelStart() {}
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        return warmUp(cache, WARMUP_MIN, WARMUP_MAX);
      }
    
      /**
       * Returns the entries that were added to the map, so they won't fall out of a map with weak or
       * soft references until the caller drops the reference to the returned entries.
       */
      private List<Entry<Object, Object>> warmUp(
          LoadingCache<Object, Object> cache, int minimum, int maximum) {
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSetMultimap.java

                Serialization.getFieldSetter(ImmutableSetMultimap.class, "emptySet");
      }
    
      @GwtIncompatible // java.io.ObjectInputStream
      @J2ktIncompatible
      // Serialization type safety is at the caller's mercy.
      @SuppressWarnings("unchecked")
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ByteStreams.java

       * method blocks until {@code len} bytes of input data have been read into the array, or end of
       * file is detected. The number of bytes read is returned, possibly zero. Does not close the
       * stream.
       *
       * <p>A caller can detect EOF if the number of bytes read is less than {@code len}. All subsequent
       * calls on the same stream will return zero.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        }
      }
    
      /**
       * Views the array as an immutable list. The array must have only {@code E} elements.
       *
       * <p>The array must be internally created.
       */
      @SuppressWarnings("unchecked") // caller is reponsible for getting this right
      static <E> ImmutableList<E> asImmutableList(Object[] elements) {
        return unsafeDelegateList((List) Arrays.asList(elements));
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 11K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Verify.java

     * which approach to use, <b>don't worry</b> too much about it; just pick something that seems
     * reasonable and it will be fine.
     *
     * <ul>
     *   <li>If checking whether the <i>caller</i> has violated your method or constructor's contract
     *       (such as by passing an invalid argument), use the utilities of the {@link Preconditions}
     *       class instead.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

           * requireNonNull is safe because we don't null out `sequencer` except:
           *
           * - after the requireNonNull call below. (And this object has its Runnable.run override
           *   called only once, just as it has its Executor.execute override called only once.)
           *
           * - if we return immediately from `execute` (in which case we never get here)
           *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
Back to top