Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for amount (0.16 sec)

  1. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

      @CanIgnoreReturnValue
      public FakeTicker setAutoIncrementStep(long autoIncrementStep, TimeUnit timeUnit) {
        checkArgument(autoIncrementStep >= 0, "May not auto-increment by a negative amount");
        this.autoIncrementStepNanos = timeUnit.toNanos(autoIncrementStep);
        return this;
      }
    
      /**
       * Sets the increment applied to the ticker whenever it is queried.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Lists.java

       * unspecified amount of padding; you almost certainly mean to call {@link
       * #newArrayListWithCapacity} (see that method for further advice on usage).
       *
       * <p><b>Note:</b> This method will soon be deprecated. Even in the rare case that you do want
       * some amount of padding, it's best if you choose your desired amount explicitly.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * becomes {@code count}.
       *
       * @return the count of {@code element} in the multiset before this call
       * @throws IllegalArgumentException if {@code count} is negative
       */
      @CanIgnoreReturnValue
      @Override
      public int setCount(E element, int count) {
        checkNotNull(element);
        checkNonnegative(count, "count");
        while (true) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * becomes {@code count}.
       *
       * @return the count of {@code element} in the multiset before this call
       * @throws IllegalArgumentException if {@code count} is negative
       */
      @CanIgnoreReturnValue
      @Override
      public int setCount(E element, int count) {
        checkNotNull(element);
        checkNonnegative(count, "count");
        while (true) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Preconditions.java

       * decade that assumes that they can use checkNotNull for non-precondition checks. I had hoped to
       * take a principled stand on this, but the amount of such code is simply overwhelming. To avoid
       * creating a lot of compile errors that users would not find to be informative, we're giving in
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Floats.java

       *
       * @param array the source array
       * @param minLength the minimum length the returned array must guarantee
       * @param padding an extra amount to "grow" the array by if growth is necessary
       * @throws IllegalArgumentException if {@code minLength} or {@code padding} is negative
       * @return an array containing the values of {@code array}, with guaranteed minimum length {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Doubles.java

       *
       * @param array the source array
       * @param minLength the minimum length the returned array must guarantee
       * @param padding an extra amount to "grow" the array by if growth is necessary
       * @throws IllegalArgumentException if {@code minLength} or {@code padding} is negative
       * @return an array containing the values of {@code array}, with guaranteed minimum length {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.NavigableSet;
    import java.util.SortedSet;
    import java.util.TreeSet;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A wrapper around {@code TreeSet} that aggressively checks to see if elements are mutually
     * comparable. This implementation passes the navigable set test suites.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        ImmutableTypeToInstanceMap<Iterable<?>[]> map =
            ImmutableTypeToInstanceMap.<Iterable<?>[]>builder().put(type, array).build();
        assertEquals(1, map.size());
        // Redundant cast works around a javac bug.
        assertThat((Iterable<?>[]) map.getInstance(type)).asList().containsExactly(array[0]);
      }
    
      public void testWildcardType() {
        TypeToken<ImmutableList<?>> type = new TypeToken<ImmutableList<?>>() {};
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

    /**
     * GWT emulation of {@link com.google.common.collect.ImmutableMap}. For non sorted maps, it is a
     * thin wrapper around {@link java.util.Collections#emptyMap()}, {@link
     * Collections#singletonMap(Object, Object)} and {@link java.util.LinkedHashMap} for empty,
     * singleton and regular maps respectively. For sorted maps, it's a thin wrapper around {@link
     * java.util.TreeMap}.
     *
     * @see ImmutableSortedMap
     * @author Hayward Chan
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
Back to top