Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for checkNotNull (0.1 sec)

  1. 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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  3. 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() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  4. 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)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  5. 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) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  6. android/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 static java.util.concurrent.TimeUnit.NANOSECONDS;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/MapMakerInternalMap.java

      @Override
      public V put(K key, V value) {
        checkNotNull(key);
        checkNotNull(value);
        int hash = hash(key);
        return segmentFor(hash).put(key, hash, value, false);
      }
    
      @CheckForNull
      @CanIgnoreReturnValue
      @Override
      public V putIfAbsent(K key, V value) {
        checkNotNull(key);
        checkNotNull(value);
        int hash = hash(key);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  8. android/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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K 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 static java.util.concurrent.TimeUnit.NANOSECONDS;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

      @GwtIncompatible // TODO
      public static <I extends @Nullable Object, O extends @Nullable Object> Future<O> lazyTransform(
          final Future<I> input, final Function<? super I, ? extends O> function) {
        checkNotNull(input);
        checkNotNull(function);
        return new Future<O>() {
    
          @Override
          public boolean cancel(boolean mayInterruptIfRunning) {
            return input.cancel(mayInterruptIfRunning);
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
Back to top