Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for accepted (0.13 sec)

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

          return this;
        }
    
        private void add(@Nullable Object[] elements, int n) {
          getReadyToExpandTo(size + n);
          /*
           * The following call is not statically checked, since arraycopy accepts plain Object for its
           * parameters. If it were statically checked, the checker would still be OK with it, since
           * we're copying into a `contents` array whose type allows it to contain nulls. Still, it's
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  2. android/guava/src/com/google/common/collect/ImmutableList.java

        return (ImmutableList<E>) EMPTY;
      }
    
      /**
       * Returns an immutable list containing a single element. This list behaves and performs
       * comparably to {@link Collections#singletonList}, but will not accept a null element. It is
       * preferable mainly for consistency and maintainability of your code.
       *
       * @throws NullPointerException if {@code element} is null
       */
      public static <E> ImmutableList<E> of(E element) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
Back to top