Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 643 for ArrayList (0.07 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResult.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.index.writer;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    
    public class SuggestWriterResult {
        protected List<Throwable> failures = Collections.synchronizedList(new ArrayList<>());
    
        public void addFailure(final Throwable t) {
            failures.add(t);
        }
    
        public boolean hasFailure() {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.concurrent.GuardedBy;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.logging.Handler;
    import java.util.logging.LogRecord;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 20:53:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java

            List<Artifact> list = new ArrayList<>();
            list.add(newArtifact("b"));
            list.add(newArtifact("a"));
            list.add(newArtifact("c"));
            list.add(newArtifact("e"));
            list.add(newArtifact("d"));
    
            Map<String, Artifact> map = ArtifactUtils.artifactMapByVersionlessId(list);
            assertNotNull(map);
            assertEquals(list, new ArrayList<>(map.values()));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultimapForEachTester.java

      public void testForEach() {
        List<Entry<K, V>> entries = new ArrayList<>();
        multimap().forEach((k, v) -> entries.add(mapEntry(k, v)));
        assertEqualIgnoringOrder(getSampleElements(), multimap().entries());
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testForEachOrder() {
        List<Entry<K, V>> entries = new ArrayList<>();
        multimap().forEach((k, v) -> entries.add(mapEntry(k, v)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

        final String key = "key";
    
        final AtomicLongMap<String> map = AtomicLongMap.create();
    
        ExecutorService threadPool = Executors.newFixedThreadPool(nThreads);
        ArrayList<Future<Long>> futures = new ArrayList<>();
        for (int i = 0; i < nTasks; i++) {
          futures.add(
              threadPool.submit(
                  new Callable<Long>() {
                    @Override
                    public Long call() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

                  .sampleKeys()
                  .e0();
          List<Entry<K, V>> entries = new ArrayList<>();
          for (V v : insertionOrder) {
            entries.add(mapEntry(k, v));
          }
          Iterable<Entry<K, V>> ordered = multimapGenerator.order(entries);
          List<V> orderedValues = new ArrayList<>();
          for (Entry<K, V> entry : ordered) {
            orderedValues.add(entry.getValue());
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          int selectedIndex = random.nextInt(elements.size());
          q.offer(elements.remove(selectedIndex));
        }
      }
    
      private ArrayList<Integer> createOrderedList(int size) {
        ArrayList<Integer> elements = new ArrayList<>(size);
        for (int i = 0; i < size; i++) {
          elements.add(i);
        }
        return elements;
      }
    
      public void testIsEvenLevel() {
        assertTrue(MinMaxPriorityQueue.isEvenLevel(0));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

     */
    package org.codelibs.fess.suggest.entity;
    
    import java.time.Clock;
    import java.time.Instant;
    import java.time.ZonedDateTime;
    import java.time.format.DateTimeFormatter;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                final long start = System.currentTimeMillis();
                int numberOfSuggestDocs = 0;
                int numberOfInputDocs = 0;
                final List<Throwable> errors = new ArrayList<>();
    
                final List<QueryLog> queryLogs = new ArrayList<>(docPerReq);
                try {
                    QueryLog queryLog = queryLogReader.read();
                    while (queryLog != null) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapSet.java

    import java.io.Serializable;
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * @author shinsuke
     *
     */
    public class SitemapSet implements Serializable {
    
        private static final long serialVersionUID = 1L;
    
        public static final String URLSET = "UrlSet";
    
        public static final String INDEX = "Index";
    
        private final List<Sitemap> sitemapList = new ArrayList<>();
    
        private String type = URLSET;
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top