Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for checkElementsNotNull (0.06 sec)

  1. android/guava/src/com/google/common/collect/ImmutableList.java

        E[] array = (E[]) Iterables.toArray(elements);
        checkElementsNotNull(array);
        Arrays.sort(array, comparator);
        return asImmutableList(array);
      }
    
      /** Views the array as an immutable list. Checks for nulls; does not copy. */
      private static <E> ImmutableList<E> construct(Object... elements) {
        return asImmutableList(checkElementsNotNull(elements));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ObjectArrays.java

        Object temp = array[i];
        array[i] = array[j];
        array[j] = temp;
      }
    
      @CanIgnoreReturnValue
      static Object[] checkElementsNotNull(Object... array) {
        return checkElementsNotNull(array, array.length);
      }
    
      @CanIgnoreReturnValue
      static Object[] checkElementsNotNull(Object[] array, int length) {
        for (int i = 0; i < length; i++) {
          checkElementNotNull(array[i], i);
        }
        return array;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ObjectArrays.java

        array[i] = array[j];
        array[j] = temp;
      }
    
      @CanIgnoreReturnValue
      static Object[] checkElementsNotNull(Object... array) {
        checkElementsNotNull(array, array.length);
        return array;
      }
    
      @CanIgnoreReturnValue
      static @Nullable Object[] checkElementsNotNull(@Nullable Object[] array, int length) {
        for (int i = 0; i < length; i++) {
          checkElementNotNull(array[i], i);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.ObjectArrays.checkElementsNotNull;
    
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Comparator;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableCollection.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.ObjectArrays.checkElementsNotNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.ObjectArrays.checkElementsNotNull;
    import static java.lang.System.arraycopy;
    import static java.util.Arrays.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
Back to top