Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for sargument (0.2 sec)

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

     *
     * <p>would be flagged as having called {@code sqrt()} with an illegal argument.
     *
     * <h3>Performance</h3>
     *
     * <p>Avoid passing message arguments that are expensive to compute; your code will always compute
     * them, even though they usually won't be needed. If you have such arguments, use the conventional
     * if/throw idiom instead.
     *
     * <p>Depending on your message arguments, memory may be allocated for boxing and varargs array
    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)
  2. android/guava/src/com/google/common/reflect/Types.java

        checkNotNull(arguments);
        checkArgument(rawType.getEnclosingClass() != null, "Owner type for unenclosed %s", rawType);
        return new ParameterizedTypeImpl(ownerType, rawType, arguments);
      }
    
      /** Returns a type where {@code rawType} is parameterized by {@code arguments}. */
      static ParameterizedType newParameterizedType(Class<?> rawType, Type... arguments) {
        return new ParameterizedTypeImpl(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Hashing.java

          for (int i = 0; i < nextBytes.length; i++) {
            resultBytes[i] += nextBytes[i];
          }
        }
        return HashCode.fromBytesNoCopy(resultBytes);
      }
    
      /** Checks that the passed argument is positive, and ceils it to a multiple of 32. */
      static int checkPositiveAndMakeMultipleOf32(int bits) {
        checkArgument(bits > 0, "Number of bits must be positive");
        return (bits + 31) & ~31;
      }
    
      /**
    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)
  4. android/guava/src/com/google/common/collect/Multisets.java

          Multiset<E> result = (Multiset<E>) multiset;
          return result;
        }
        return new UnmodifiableMultiset<>(checkNotNull(multiset));
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       * @since 10.0
       */
      @Deprecated
      public static <E> Multiset<E> unmodifiableMultiset(ImmutableMultiset<E> multiset) {
        return checkNotNull(multiset);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

          Iterable<T> result = (Iterable<T>) iterable;
          return result;
        }
        return new UnmodifiableIterable<>(iterable);
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       * @since 10.0
       */
      @Deprecated
      public static <E> Iterable<E> unmodifiableIterable(ImmutableCollection<E> iterable) {
        return checkNotNull(iterable);
      }
    
    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)
  6. guava/src/com/google/common/base/Optional.java

      }
    
      /**
       * Returns the equivalent {@code com.google.common.base.Optional} value to the given {@code
       * java.util.Optional}, or {@code null} if the argument is null.
       *
       * @since 21.0
       */
      @CheckForNull
      public static <T> Optional<T> fromJavaUtil(@CheckForNull java.util.Optional<T> javaUtilOptional) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/Striped64.java

       * function for most uses, but the virtualized form is needed within retryUpdate.
       *
       * @param currentValue the current value (of either base or a cell)
       * @param newValue the argument from a user update call
       * @return result of the update function
       */
      abstract long fn(long currentValue, long newValue);
    
      /**
    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)
  8. android/guava/src/com/google/common/collect/Lists.java

       *
       * <p>This is useful when a varargs method needs to use a signature such as {@code (Foo firstFoo,
       * Foo... moreFoos)}, in order to avoid overload ambiguity or to enforce a minimum argument count.
       *
       * <p>The returned list is serializable and implements {@link RandomAccess}.
       *
       * @param first the first element
       * @param rest an array of additional elements, possibly empty
    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)
  9. guava/src/com/google/common/collect/ImmutableSet.java

           * ImmutableSet.Builder but y is an ImmutableSortedSet.Builder (or vice versa). Certainly
           * ImmutableSortedSet.Builder.combine() is written as if its argument will never be a plain
           * ImmutableSet.Builder: It casts immediately to ImmutableSortedSet.Builder.)
           */
          copyIfNecessary();
          this.impl = this.impl.combine(other.impl);
          return this;
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       *   <li>{@link #NULL} terminal state, {@code set(null)} was called.
       *   <li>Any other non-null value, terminal state, {@code set} was called with a non-null
       *       argument.
       * </ul>
       */
      @CheckForNull private volatile Object value;
    
      /** All listeners. */
      @CheckForNull private volatile Listener listeners;
    
      /** All waiting threads. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
Back to top