Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for checkNotNull (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. android/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 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/CharMatcher.java

        @Override
        public int countIn(CharSequence sequence) {
          checkNotNull(sequence);
          return 0;
        }
    
        @Override
        public CharMatcher and(CharMatcher other) {
          checkNotNull(other);
          return this;
        }
    
        @Override
        public CharMatcher or(CharMatcher other) {
          return checkNotNull(other);
        }
    
        @Override
        public CharMatcher negate() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

        TransformedEntriesMultimap(
            Multimap<K, V1> fromMultimap,
            final EntryTransformer<? super K, ? super V1, V2> transformer) {
          this.fromMultimap = checkNotNull(fromMultimap);
          this.transformer = checkNotNull(transformer);
        }
    
        Collection<V2> transform(@ParametricNullness K key, Collection<V1> values) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 86.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/CharMatcher.java

        @Override
        public int countIn(CharSequence sequence) {
          checkNotNull(sequence);
          return 0;
        }
    
        @Override
        public CharMatcher and(CharMatcher other) {
          checkNotNull(other);
          return this;
        }
    
        @Override
        public CharMatcher or(CharMatcher other) {
          return checkNotNull(other);
        }
    
        @Override
        public CharMatcher negate() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

       */
      public static <E extends @Nullable Object> SetView<E> union(
          final Set<? extends E> set1, final Set<? extends E> set2) {
        checkNotNull(set1, "set1");
        checkNotNull(set2, "set2");
    
        return new SetView<E>() {
          @Override
          public int size() {
            int size = set1.size();
            for (E e : set2) {
              if (!set1.contains(e)) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 77.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/CacheBuilder.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.Ascii;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedMap.java

       *
       * @since 12.0
       */
      @Override
      public ImmutableSortedMap<K, V> subMap(
          K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) {
        checkNotNull(fromKey);
        checkNotNull(toKey);
        checkArgument(
            comparator().compare(fromKey, toKey) <= 0,
            "expected fromKey <= toKey but %s > %s",
            fromKey,
            toKey);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
Back to top