Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 75 of 75 for checkNonNegative (0.07 seconds)

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

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.CollectPreconditions.checkRemove;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static java.util.Objects.requireNonNull;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Maps.java

    import static com.google.common.base.Predicates.compose;
    import static com.google.common.collect.CollectPreconditions.checkEntryNotNull;
    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static java.lang.Math.ceil;
    import static java.util.Collections.singletonMap;
    import static java.util.Objects.requireNonNull;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Maps.java

    import static com.google.common.base.Predicates.compose;
    import static com.google.common.collect.CollectPreconditions.checkEntryNotNull;
    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static java.lang.Math.ceil;
    import static java.util.Collections.singletonMap;
    import static java.util.Objects.requireNonNull;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Iterables.java

       */
      @ParametricNullness
      public static <T extends @Nullable Object> T get(
          Iterable<? extends T> iterable, int position, @ParametricNullness T defaultValue) {
        checkNotNull(iterable);
        Iterators.checkNonnegative(position);
        if (iterable instanceof List) {
          List<? extends T> list = (List<? extends T>) iterable;
          return (position < list.size()) ? list.get(position) : defaultValue;
        } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Iterables.java

       */
      @ParametricNullness
      public static <T extends @Nullable Object> T get(
          Iterable<? extends T> iterable, int position, @ParametricNullness T defaultValue) {
        checkNotNull(iterable);
        Iterators.checkNonnegative(position);
        if (iterable instanceof List) {
          List<? extends T> list = (List<? extends T>) iterable;
          return (position < list.size()) ? list.get(position) : defaultValue;
        } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 43.6K bytes
    - Click Count (0)
Back to Top