Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 434 for checkNotNull (0.1 sec)

  1. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.util.Collection;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

      @CanIgnoreReturnValue
      @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
      @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 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/FluentIterable.java

       *     FluentIterable}
       */
      @Deprecated
      @InlineMe(
          replacement = "checkNotNull(iterable)",
          staticImports = {"com.google.common.base.Preconditions.checkNotNull"})
      public static <E extends @Nullable Object> FluentIterable<E> from(FluentIterable<E> iterable) {
        return checkNotNull(iterable);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/TypeResolver.java

       */
      public TypeResolver where(Type formal, Type actual) {
        Map<TypeVariableKey, Type> mappings = Maps.newHashMap();
        populateTypeMappings(mappings, checkNotNull(formal), checkNotNull(actual));
        return where(mappings);
      }
    
      /** Returns a new {@code TypeResolver} with {@code variable} mapping to {@code type}. */
      TypeResolver where(Map<TypeVariableKey, ? extends Type> mappings) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K 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/io/ByteSource.java

     * the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.io.ByteStreams.createBuffer;
    import static com.google.common.io.ByteStreams.skipUpTo;
    import static java.lang.Math.min;
    
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Hashing.java

     * the License.
     */
    
    package com.google.common.hash;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.errorprone.annotations.Immutable;
    import java.security.Key;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.Iterator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.util.concurrent.AggregateFuture.ReleaseResourcesReason.ALL_INPUT_FUTURES_PROCESSED;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

         *
         * @throws IllegalArgumentException if {@code range} is empty
         */
        @CanIgnoreReturnValue
        public Builder<K, V> put(Range<K> range, V value) {
          checkNotNull(range);
          checkNotNull(value);
          checkArgument(!range.isEmpty(), "Range must not be empty, but was %s", range);
          entries.add(immutableEntry(range, value));
          return this;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ForwardingSet.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Collection;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 3.8K bytes
    - Viewed (0)
Back to top