Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 222 for checkNotNull (0.32 sec)

  1. 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)),
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Preconditions.java

        }
      }
    
      /*
       * Preconditions.checkNotNull is *intended* for performing eager null checks on parameters that a
       * nullness checker can already "prove" are non-null. That means that the first parameter to
       * checkNotNull *should* be annotated to require it to be non-null.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

          Comparator<? super E> comparator, E... elements) {
        checkNotNull(elements);
        switch (elements.length) {
          case 0:
            return emptySet(comparator);
          default:
            SortedSet<E> delegate = new TreeSet<E>(comparator);
            for (E element : elements) {
              checkNotNull(element);
              delegate.add(element);
            }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 17.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterators.java

          Iterator<? extends T> a,
          Iterator<? extends T> b,
          Iterator<? extends T> c,
          Iterator<? extends T> d) {
        checkNotNull(a);
        checkNotNull(b);
        checkNotNull(c);
        checkNotNull(d);
        return concat(consumingForArray(a, b, c, d));
      }
    
      /**
       * Combines multiple iterators into a single iterator. The returned iterator iterates across the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Apr 20 03:33:06 GMT 2024
    - 50.6K bytes
    - Viewed (0)
  7. 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;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Iterators.java

          Iterator<? extends T> a,
          Iterator<? extends T> b,
          Iterator<? extends T> c,
          Iterator<? extends T> d) {
        checkNotNull(a);
        checkNotNull(b);
        checkNotNull(c);
        checkNotNull(d);
        return concat(consumingForArray(a, b, c, d));
      }
    
      /**
       * Combines multiple iterators into a single iterator. The returned iterator iterates across the
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.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 Collectors.collectingAndThen(
            Collectors.toMap(
                keyFunction, valueFunction, mergeFunction, () -> new TreeMap<K, V>(comparator)),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ContiguousSet.java

        return headSetImpl(checkNotNull(toElement), false);
      }
    
      /** @since 12.0 */
      @GwtIncompatible // NavigableSet
      @Override
      public ContiguousSet<C> headSet(C toElement, boolean inclusive) {
        return headSetImpl(checkNotNull(toElement), inclusive);
      }
    
      @Override
      public ContiguousSet<C> subSet(C fromElement, C toElement) {
        checkNotNull(fromElement);
        checkNotNull(toElement);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 9.9K bytes
    - Viewed (0)
Back to top