Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 710 for checkNotNull (0.11 sec)

  1. android/guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

        Preconditions.checkNotNull(task, "task must not be null!");
        Preconditions.checkNotNull(result, "result must not be null!");
        return delegate.submit(task, result);
      }
    
      @Override
      public ListenableFuture<?> submit(Runnable task) {
        Preconditions.checkNotNull(task, "task must not be null!");
        return delegate.submit(task);
      }
    
      @Override
    Registered: 2024-06-12 16:38
    - Last Modified: 2021-10-06 00:47
    - 6.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

        Preconditions.checkNotNull(task, "task must not be null!");
        Preconditions.checkNotNull(result, "result must not be null!");
        return delegate.submit(task, result);
      }
    
      @Override
      public ListenableFuture<?> submit(Runnable task) {
        Preconditions.checkNotNull(task, "task must not be null!");
        return delegate.submit(task);
      }
    
      @Override
    Registered: 2024-06-12 16:38
    - Last Modified: 2021-10-06 00:47
    - 6.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CollectCollectors.java

              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction,
              BinaryOperator<V> mergeFunction) {
        checkNotNull(comparator);
        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        checkNotNull(mergeFunction);
        return collectingAndThen(
            Collectors.toMap(
                keyFunction, valueFunction, mergeFunction, () -> new TreeMap<K, V>(comparator)),
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-02-21 16:21
    - 17.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CollectCollectors.java

              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction,
              BinaryOperator<V> mergeFunction) {
        checkNotNull(comparator);
        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        checkNotNull(mergeFunction);
        return collectingAndThen(
            Collectors.toMap(
                keyFunction, valueFunction, mergeFunction, () -> new TreeMap<K, V>(comparator)),
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-02-21 16:21
    - 16.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/TableCollectors.java

              BinaryOperator<V> mergeFunction,
              java.util.function.Supplier<I> tableSupplier) {
        checkNotNull(rowFunction);
        checkNotNull(columnFunction);
        checkNotNull(valueFunction);
        checkNotNull(mergeFunction);
        checkNotNull(tableSupplier);
        return Collector.of(
            tableSupplier,
            (table, input) ->
                mergeTables(
                    table,
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-03-09 00:21
    - 7.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
      public <T> T newProxy(
          T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit) {
        checkNotNull(target);
        checkNotNull(interfaceType);
        checkNotNull(timeoutUnit);
        return target; // ha ha
      }
    
      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
      @ParametricNullness
    Registered: 2024-06-12 16:38
    - Last Modified: 2023-12-14 20:35
    - 3.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/DefaultRepositoryContentDescriptor.java

            checkNotNull(group, "Group cannot be null");
            checkNotNull(moduleName, "Module name cannot be null");
            addInclude(group, moduleName, null, MatcherKind.REGEX);
        }
    
        @Override
        public void includeModuleByRegex(String groupRegex, String moduleNameRegex) {
            checkNotNull(groupRegex, "Group regex cannot be null");
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-01-26 14:58
    - 19.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TableCollectors.java

              BinaryOperator<V> mergeFunction,
              java.util.function.Supplier<I> tableSupplier) {
        checkNotNull(rowFunction);
        checkNotNull(columnFunction);
        checkNotNull(valueFunction);
        checkNotNull(mergeFunction);
        checkNotNull(tableSupplier);
        return Collector.of(
            tableSupplier,
            (table, input) ->
                mergeTables(
                    table,
    Registered: 2024-06-12 16:38
    - Last Modified: 2024-03-09 00:21
    - 7.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

        return new SimpleTimeLimiter(executor);
      }
    
      @Override
      public <T> T newProxy(
          T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit) {
        checkNotNull(target);
        checkNotNull(interfaceType);
        checkNotNull(timeoutUnit);
        checkPositiveTimeout(timeoutDuration);
        checkArgument(interfaceType.isInterface(), "interfaceType must be an interface type");
    
    Registered: 2024-06-12 16:38
    - Last Modified: 2023-06-27 14:21
    - 9.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

        return new SimpleTimeLimiter(executor);
      }
    
      @Override
      public <T> T newProxy(
          T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit) {
        checkNotNull(target);
        checkNotNull(interfaceType);
        checkNotNull(timeoutUnit);
        checkPositiveTimeout(timeoutDuration);
        checkArgument(interfaceType.isInterface(), "interfaceType must be an interface type");
    
    Registered: 2024-06-12 16:38
    - Last Modified: 2023-06-27 14:21
    - 9.7K bytes
    - Viewed (0)
Back to top