Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ImmutableCollection (0.21 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT emulated version of {@link ImmutableCollection}.
     *
     * @author Jesse Wilson
     */
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableCollection<E> extends AbstractCollection<E> implements Serializable {
      static final int SPLITERATOR_CHARACTERISTICS =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. 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)
  3. 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