Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for ImmutableCollection (1.34 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 =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueSanitizers.java

            @Override
            public void add(@Nullable Object value, ImmutableCollection.Builder<Object> dest) {
                dest.add(value);
            }
    
            @Override
            public void addAll(Iterable<?> values, ImmutableCollection.Builder<Object> dest) {
                dest.addAll(values);
            }
        };
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableAsList.java

    /**
     * List returned by {@link ImmutableCollection#asList} that delegates {@code contains} checks to the
     * backing collection.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial")
    @ElementTypesAreNonnullByDefault
    abstract class ImmutableAsList<E> extends ImmutableList<E> {
      abstract ImmutableCollection<E> delegateCollection();
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableCollectionTest.java

    import junit.framework.TestCase;
    
    /**
     * Tests for {@code ImmutableCollection}.
     *
     * @author Louis Wasserman
     */
    public class ImmutableCollectionTest extends TestCase {
      public void testCapacityExpansion() {
        assertEquals(1, ImmutableCollection.Builder.expandedCapacity(0, 1));
        assertEquals(2, ImmutableCollection.Builder.expandedCapacity(0, 2));
        assertEquals(2, ImmutableCollection.Builder.expandedCapacity(1, 2));
        assertEquals(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableCollectionTest.java

    import junit.framework.TestCase;
    
    /**
     * Tests for {@code ImmutableCollection}.
     *
     * @author Louis Wasserman
     */
    public class ImmutableCollectionTest extends TestCase {
      public void testCapacityExpansion() {
        assertEquals(1, ImmutableCollection.Builder.expandedCapacity(0, 1));
        assertEquals(2, ImmutableCollection.Builder.expandedCapacity(0, 2));
        assertEquals(2, ImmutableCollection.Builder.expandedCapacity(1, 2));
        assertEquals(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableAsList.java

    class RegularImmutableAsList<E> extends ImmutableAsList<E> {
      private final ImmutableCollection<E> delegate;
      private final ImmutableList<? extends E> delegateList;
    
      RegularImmutableAsList(ImmutableCollection<E> delegate, ImmutableList<? extends E> delegateList) {
        this.delegate = delegate;
        this.delegateList = delegateList;
      }
    
      RegularImmutableAsList(ImmutableCollection<E> delegate, Object[] array) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueCollector.java

     */
    
    package org.gradle.api.internal.provider;
    
    import com.google.common.collect.ImmutableCollection;
    
    import javax.annotation.Nullable;
    
    public interface ValueCollector<T> {
        void add(@Nullable T value, ImmutableCollection.Builder<T> dest);
    
        void addAll(Iterable<? extends T> values, ImmutableCollection.Builder<T> dest);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 944 bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableAsList.java

    /**
     * List returned by {@link ImmutableCollection#asList} that delegates {@code contains} checks to the
     * backing collection.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial")
    @ElementTypesAreNonnullByDefault
    abstract class ImmutableAsList<E> extends ImmutableList<E> {
      abstract ImmutableCollection<E> delegateCollection();
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/RegularImmutableAsList.java

    class RegularImmutableAsList<E> extends ImmutableAsList<E> {
      private final ImmutableCollection<E> delegate;
      private final ImmutableList<? extends E> delegateList;
    
      RegularImmutableAsList(ImmutableCollection<E> delegate, ImmutableList<? extends E> delegateList) {
        this.delegate = delegate;
        this.delegateList = delegateList;
      }
    
      RegularImmutableAsList(ImmutableCollection<E> delegate, Object[] array) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValidatingValueCollector.java

     * limitations under the License.
     */
    
    package org.gradle.api.internal.provider;
    
    import com.google.common.base.Preconditions;
    import com.google.common.collect.ImmutableCollection;
    
    import javax.annotation.Nullable;
    
    class ValidatingValueCollector<T> implements ValueCollector<T> {
        private final Class<?> collectionType;
        private final Class<T> elementType;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top