Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 62 for content_es (0.45 sec)

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

        private final ArrayList<E> contents;
    
        public Builder() {
          contents = Lists.newArrayList();
        }
    
        Builder(int capacity) {
          contents = Lists.newArrayListWithCapacity(capacity);
        }
    
        @CanIgnoreReturnValue
        @Override
        public Builder<E> add(E element) {
          contents.add(checkNotNull(element));
          return this;
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableListTest.java

          builder.add(i);
          assertNotSame(builder.contents, prevArray);
          prevArray = builder.contents;
          ImmutableList<Integer> unused = builder.build();
        }
      }
    
      @GwtIncompatible
      public void testBuilderExactlySizedReusesArray() {
        ImmutableList.Builder<Integer> builder = ImmutableList.builderWithExpectedSize(10);
        Object[] builderArray = builder.contents;
        for (int i = 0; i < 10; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableCollection.java

    import java.util.Spliterators;
    import java.util.function.Predicate;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link Collection} whose contents will never change, and which offers a few additional
     * guarantees detailed below.
     *
     * <p><b>Warning:</b> avoid <i>direct</i> usage of {@link ImmutableCollection} as a type (just as
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *
       * <p>A collection is considered immutable if:
       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

            for (int i = 0; i < entry.getCount(); i++) {
              contents.add(entry.getElement());
            }
          }
          return ((Multiset<E>) gen.create(contents.toArray())).entrySet();
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public Multiset.Entry<E>[] createArray(int length) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SetsTest.java

       * the set is the same as the ordering of the given contents.
       */
      private static <E> void verifyLinkedHashSetContents(
          LinkedHashSet<E> set, Collection<E> contents) {
        assertEquals(
            "LinkedHashSet should have preserved order for iteration",
            new ArrayList<E>(set),
            new ArrayList<E>(contents));
        verifySetContents(set, contents);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 47.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/MoreFiles.java

       * possible for a directory to be replaced with a symbolic link between checking if the file is a
       * directory and actually reading the contents of that directory.
       *
       * <p>If the {@link Path} passed to one of the traversal methods does not exist or is not a
       * directory, no exception will be thrown and the returned {@link Iterable} will contain a single
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ContiguousSet.java

      @Override
      @GwtIncompatible // NavigableSet
      ImmutableSortedSet<C> createDescendingSet() {
        return new DescendingImmutableSortedSet<>(this);
      }
    
      /** Returns a shorthand representation of the contents such as {@code "[1..100]"}. */
      @Override
      public String toString() {
        return range().toString();
      }
    
      /**
       * Not supported. {@code ContiguousSet} instances are constructed with {@link #create}. This
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/Files.java

       *
       * <p><b>Warning:</b> If {@code to} represents an existing file, that file will be overwritten
       * with the contents of {@code from}. If {@code to} and {@code from} refer to the <i>same</i>
       * file, the contents of that file will be deleted.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Table.java

     * worse performance than data access by row key.
     *
     * <p>The methods returning collections or maps always return views of the underlying table.
     * Updating the table can change the contents of those collections, and updating the collections
     * will change the table.
     *
     * <p>All methods that modify the table are optional, and the views returned by the table may or may
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
Back to top