Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ImmutableCollection (0.19 sec)

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

            Collection<?> collection = (Collection<?>) elements;
            getReadyToExpandTo(size + collection.size());
            if (collection instanceof ImmutableCollection) {
              ImmutableCollection<?> immutableCollection = (ImmutableCollection<?>) collection;
              size = immutableCollection.copyIntoArray(contents, size);
              return this;
            }
          }
          super.addAll(elements);
          return this;
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableCollection.java

        }
    
        /**
         * Returns a newly-created {@code ImmutableCollection} of the appropriate type, containing the
         * elements provided to this builder.
         *
         * <p>Note that each builder class covariantly returns the appropriate type of {@code
         * ImmutableCollection} from this method.
         */
        public abstract ImmutableCollection<E> build();
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
Back to top