Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 202 for checkNotNull (0.45 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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 6.4K bytes
    - Viewed (0)
  2. 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,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. 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");
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 27 14:21:11 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  4. 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
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 6.4K bytes
    - Viewed (0)
  5. android/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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

        public Builder<E> add(E... elements) {
          checkNotNull(elements); // for GWT
          for (E element : elements) {
            add(checkNotNull(element));
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        public Builder<E> addAll(Iterable<? extends E> elements) {
          checkNotNull(elements); // for GWT
          for (E element : elements) {
            add(checkNotNull(element));
          }
          return this;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/StandardMutableValueGraph.java

        return connections;
      }
    
      @Override
      @CanIgnoreReturnValue
      @CheckForNull
      public V putEdgeValue(N nodeU, N nodeV, V value) {
        checkNotNull(nodeU, "nodeU");
        checkNotNull(nodeV, "nodeV");
        checkNotNull(value, "value");
    
        if (!allowsSelfLoops()) {
          checkArgument(!nodeU.equals(nodeV), SELF_LOOPS_NOT_ALLOWED, nodeU);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Oct 21 01:50:30 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/SourceSinkTester.java

        super(method.getName());
        this.factory = checkNotNull(factory);
        this.data = checkNotNull(data);
        this.expected = checkNotNull(factory.getExpected(data));
        this.suiteName = checkNotNull(suiteName);
        this.caseDesc = checkNotNull(caseDesc);
      }
    
      @Override
      public String getName() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 27 18:57:08 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Callables.java

      @J2ktIncompatible
      @GwtIncompatible
      public static <T extends @Nullable Object> AsyncCallable<T> asAsyncCallable(
          Callable<T> callable, ListeningExecutorService listeningExecutorService) {
        checkNotNull(callable);
        checkNotNull(listeningExecutorService);
        return () -> listeningExecutorService.submit(callable);
      }
    
      /**
       * Wraps the given callable such that for the duration of {@link Callable#call} the thread that is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/StandardRowSortedTable.java

        @Override
        public SortedMap<R, Map<C, V>> headMap(R toKey) {
          checkNotNull(toKey);
          return new StandardRowSortedTable<R, C, V>(sortedBackingMap().headMap(toKey), factory)
              .rowMap();
        }
    
        @Override
        public SortedMap<R, Map<C, V>> subMap(R fromKey, R toKey) {
          checkNotNull(fromKey);
          checkNotNull(toKey);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jul 15 15:41:16 GMT 2021
    - 4.3K bytes
    - Viewed (0)
Back to top