Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 209 for newArrayList (0.1 sec)

  1. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        return Lists.newArrayList(Sets.newTreeSet(insertionOrder));
                      }
                    })
                .named("TreeMultiset[Ordering.natural].elementSet")
                .withFeatures(
                    CollectionSize.ANY,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterables.java

       */
      private static <E extends @Nullable Object> Collection<E> castOrCopyToCollection(
          Iterable<E> iterable) {
        return (iterable instanceof Collection)
            ? (Collection<E>) iterable
            : Lists.newArrayList(iterable.iterator());
      }
    
      /**
       * Adds all elements in {@code iterable} to {@code collection}.
       *
       * @return {@code true} if {@code collection} was modified as a result of this operation.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/TraversalUtil.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.io;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    import static org.codelibs.core.collection.CollectionsUtil.newArrayList;
    import static org.codelibs.core.collection.CollectionsUtil.newConcurrentHashMap;
    import static org.codelibs.core.collection.CollectionsUtil.newHashSet;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/FileConfigDbm.java

            return _columnUpdatedTime;
        }
    
        public ColumnInfo columnVirtualHosts() {
            return _columnVirtualHosts;
        }
    
        protected List<ColumnInfo> ccil() {
            List<ColumnInfo> ls = newArrayList();
            ls.add(columnAvailable());
            ls.add(columnBoost());
            ls.add(columnConfigParameter());
            ls.add(columnCreatedBy());
            ls.add(columnCreatedTime());
            ls.add(columnDepth());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

      enum Bound {
        INCLUSIVE,
        EXCLUSIVE,
        NO_BOUND;
      }
    
      List<TestSuite> createDerivedSuites(SortedMultisetTestSuiteBuilder<E> parentBuilder) {
        List<TestSuite> derivedSuites = Lists.newArrayList();
    
        if (!parentBuilder.getFeatures().contains(NoRecurse.DESCENDING)) {
          derivedSuites.add(createDescendingSuite(parentBuilder));
        }
    
        if (parentBuilder.getFeatures().contains(SERIALIZABLE)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

      }
    
      private static TestSuite wrappedHashMapTests(
          WrappedHashMapGenerator generator, String name, Feature<?>... features) {
        List<Feature<?>> featuresList = Lists.newArrayList(features);
        Collections.addAll(
            featuresList,
            MapFeature.GENERAL_PURPOSE,
            CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
            CollectionSize.ANY);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        LenientSerializableTester.reserializeAndAssertLenient(map.keySet());
    
        Collection<Integer> reserializedValues = reserialize(map.values());
        assertEquals(Lists.newArrayList(map.values()), Lists.newArrayList(reserializedValues));
        assertTrue(reserializedValues instanceof ImmutableCollection);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

       */
      private List<Entry<Object, Object>> warmUp(
          LoadingCache<Object, Object> cache, int minimum, int maximum) {
    
        List<Entry<Object, Object>> entries = Lists.newArrayList();
        for (int i = minimum; i < maximum; i++) {
          Object key = i;
          Object value = cache.getUnchecked(key);
          entries.add(entryOf(key, value));
        }
        return entries;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

            C unfiltered = createUnfiltered(contents);
            C filterThenAdd = filter(unfiltered, EVEN);
            unfiltered.add(4);
    
            List<Integer> target = Lists.newArrayList(contents);
            target.add(4);
            C addThenFilter = filter(createUnfiltered(target), EVEN);
    
            assertThat(filterThenAdd).containsExactlyElementsIn(addThenFilter);
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

      public static <K extends @Nullable Object, V extends @Nullable Object>
          void assertMultimapIsUnmodifiable(Multimap<K, V> multimap, K sampleKey, V sampleValue) {
        List<Entry<K, V>> originalEntries = unmodifiableList(Lists.newArrayList(multimap.entries()));
    
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
        Collection<V> sampleValueAsCollection = singleton(sampleValue);
    
        // Test #clear()
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top