Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 367 for checkNotNull (1.31 sec)

  1. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:21:40 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:21:40 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 27 14:21:11 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/TestThread.java

      public void callAndAssertThrows(
          Class<? extends Throwable> expected, String methodName, Object... arguments)
          throws Exception {
        checkNotNull(expected);
        checkNotNull(methodName);
        checkNotNull(arguments);
        sendRequest(methodName, arguments);
        assertEquals(expected, getResponse(methodName).getThrowable().getClass());
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 27 14:21:11 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        public InstantiableFactoryMethodChosen(NotInstantiable x) {
          checkNotNull(x);
          this.name = "x1";
        }
    
        public static InstantiableFactoryMethodChosen create(NotInstantiable x) {
          return new InstantiableFactoryMethodChosen(x);
        }
    
        public static InstantiableFactoryMethodChosen create(String s) {
          checkNotNull(s);
          return new InstantiableFactoryMethodChosen("good");
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableBiMap.java

      SingletonImmutableBiMap(K key, V value) {
        super(Collections.singletonMap(checkNotNull(key), checkNotNull(value)));
        this.singleKey = key;
        this.singleValue = value;
      }
    
      private SingletonImmutableBiMap(K key, V value, SingletonImmutableBiMap<V, K> inverse) {
        super(Collections.singletonMap(checkNotNull(key), checkNotNull(value)));
        this.singleKey = key;
        this.singleValue = value;
        this.inverse = inverse;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top