Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 95 for newArrayList (0.28 sec)

  1. android/guava-testlib/src/com/google/common/testing/ClusterException.java

     *   }
     * }
     * </pre>
     *
     * <p>This is what the code would become:
     *
     * <pre>
     * void runManyThings({@literal List<ThingToRun>} thingsToRun) {
     *   {@literal List<Exception>} exceptions = Lists.newArrayList();
     *   for (ThingToRun thingToRun : thingsToRun) {
     *     try {
     *       thingToRun.run();
     *     } catch (Exception e) {
     *       exceptions.add(e);
     *     }
     *   }
     *   if (exceptions.size() &gt; 0) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        return ImmutableSet.copyOf(elements);
      }
    
      public void testCreation_allDuplicates() {
        ImmutableSet<String> set = ImmutableSet.copyOf(Lists.newArrayList("a", "a"));
        assertTrue(set instanceof SingletonImmutableSet);
        assertEquals(Lists.newArrayList("a"), new ArrayList<>(set));
      }
    
      public void testCreation_oneDuplicate() {
        // now we'll get the varargs overload
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        return ImmutableSet.copyOf(elements);
      }
    
      public void testCreation_allDuplicates() {
        ImmutableSet<String> set = ImmutableSet.copyOf(Lists.newArrayList("a", "a"));
        assertTrue(set instanceof SingletonImmutableSet);
        assertEquals(Lists.newArrayList("a"), new ArrayList<>(set));
      }
    
      public void testCreation_oneDuplicate() {
        // now we'll get the varargs overload
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/ElevateWordToLabelDbm.java

            return _columnElevateWordId;
        }
    
        public ColumnInfo columnLabelTypeId() {
            return _columnLabelTypeId;
        }
    
        protected List<ColumnInfo> ccil() {
            List<ColumnInfo> ls = newArrayList();
            ls.add(columnElevateWordId());
            ls.add(columnLabelTypeId());
            return ls;
        }
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/ClusterException.java

     *   }
     * }
     * </pre>
     *
     * <p>This is what the code would become:
     *
     * <pre>
     * void runManyThings({@literal List<ThingToRun>} thingsToRun) {
     *   {@literal List<Exception>} exceptions = Lists.newArrayList();
     *   for (ThingToRun thingToRun : thingsToRun) {
     *     try {
     *       thingToRun.run();
     *     } catch (Exception e) {
     *       exceptions.add(e);
     *     }
     *   }
     *   if (exceptions.size() &gt; 0) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/CrawlingInfoParamDbm.java

            return _columnKey;
        }
    
        public ColumnInfo columnValue() {
            return _columnValue;
        }
    
        protected List<ColumnInfo> ccil() {
            List<ColumnInfo> ls = newArrayList();
            ls.add(columnCrawlingInfoId());
            ls.add(columnCreatedTime());
            ls.add(columnKey());
            ls.add(columnValue());
            return ls;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/log/bsentity/dbmeta/UserInfoDbm.java

            return _columnCreatedAt;
        }
    
        public ColumnInfo columnUpdatedAt() {
            return _columnUpdatedAt;
        }
    
        protected List<ColumnInfo> ccil() {
            List<ColumnInfo> ls = newArrayList();
            ls.add(columnCreatedAt());
            ls.add(columnUpdatedAt());
            return ls;
        }
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ForwardingListTest.java

                    new TestStringListGenerator() {
    
                      @Override
                      protected List<String> create(String[] elements) {
                        return new StandardImplForwardingList<>(Lists.newArrayList(elements));
                      }
                    })
                .named("ForwardingList[ArrayList] with standard implementations")
                .withFeatures(
                    CollectionSize.ANY,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

      }
    
      public static class Builder<K, V> {
        final List<Entry<K, V>> entries;
        @Nullable Comparator<? super V> valueComparator;
    
        public Builder() {
          this.entries = Lists.newArrayList();
        }
    
        Builder(int initCapacity) {
          this.entries = Lists.newArrayListWithCapacity(initCapacity);
        }
    
        @CanIgnoreReturnValue
        public Builder<K, V> put(K key, V value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/RequestHeaderDbm.java

            return _columnValue;
        }
    
        public ColumnInfo columnWebConfigId() {
            return _columnWebConfigId;
        }
    
        protected List<ColumnInfo> ccil() {
            List<ColumnInfo> ls = newArrayList();
            ls.add(columnCreatedBy());
            ls.add(columnCreatedTime());
            ls.add(columnName());
            ls.add(columnUpdatedBy());
            ls.add(columnUpdatedTime());
            ls.add(columnValue());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top