Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 434 for toPlist (0.32 sec)

  1. src/main/java/org/codelibs/fess/util/DocList.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    
    public class DocList extends ArrayList<Map<String, Object>> {
    
        private static final long serialVersionUID = 1L;
    
        private long contentSize = 0;
    
        private long processingTime = 0;
    
        @Override
        public void clear() {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

            ComponentUtil.register(client, "searchEngineClient");
            final DocList docList = new DocList();
            assertEquals(0, indexingHelper.deleteOldDocuments(client, docList));
            assertEquals(0, docList.size());
            assertEquals(0, deletedDocIdList.size());
    
            docList.clear();
            deletedDocIdList.clear();
            docList.add(new HashMap<>(Map.of(//
                    "config_id", "W01", //
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

            final List<Map<String, Object>> docList =
                    indexingHelper.getChildDocumentList(searchEngineClient, id, new String[] { fessConfig.getIndexFieldUrl() });
            if (docList.isEmpty()) {
                return null;
            }
            if (logger.isDebugEnabled()) {
                logger.debug("Found documents: {}", docList);
            }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                final List<Map<String, Object>> docList = results[i].getDocumentList();
                if (logger.isDebugEnabled()) {
                    logger.debug("[{}] {} docs / {} docs.", i, docList.size(), results[i].getAllRecordCount());
                }
                for (int j = 0; j < docList.size(); j++) {
                    final Map<String, Object> doc = docList.get(j);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy

            given:
            container.add(a)
    
            when:
            container.add(a)
    
            then:
            toList(container) == [a]
    
            when:
            container.addAll([a, b])
    
            then:
            toList(container) == [a, b]
        }
    
        def "element added using provider is not realized when added"() {
            containerAllowsExternalProviders()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultDomainObjectCollectionTest.groovy

            def testClosure = {
                return it != "b"
            }
    
            container.add("a")
            container.add("b")
            container.add("c")
    
            expect:
            toList(container.matching(spec)) == ["a", "c"]
            toList(container.matching(testClosure)) == ["a", "c"]
        }
    
        def filteredCollectionIsLive() {
            def spec = new Spec<CharSequence>() {
                boolean isSatisfiedBy(CharSequence element) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 16 23:50:58 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/ResultsStoreHelper.java

        }
    
        public static List<String> toList(Object[] objects) {
            return Stream.of(objects).map(Object::toString).map(String::trim).collect(Collectors.toList());
        }
    
        /**
         * MySQL doesn't support array type. So array in H2 `1,2,3` will be a string like '(1,2,3)'
         */
        public static List<String> toList(Object object) {
            if (object == null) {
                return null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/TarFileTreeTest.java

            rootDir.file("subdir2/file2.txt").write("content");
            rootDir.tgzTo(tgz);
    
            TarFileTree tree = tarTree(tgz);
    
            assertVisits(tree, toList("subdir/file1.txt", "subdir2/file2.txt"), toList("subdir", "subdir2"));
            assertSetContainsForAllTypes(tree, toList("subdir/file1.txt", "subdir2/file2.txt"));
        }
    
        @Test
        public void readsBzippedTarFile() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ListsTest.java

        /* toList modifications reflected in fromList */
        toList.remove(0);
        assertEquals(asList(5, 9, 3), fromList);
        toList.add(7);
        assertEquals(asList(7, 5, 9, 3), fromList);
        toList.add(5);
        assertEquals(asList(5, 7, 5, 9, 3), fromList);
        toList.remove(Integer.valueOf(5));
        assertEquals(asList(5, 7, 9, 3), fromList);
        toList.set(1, 8);
        assertEquals(asList(5, 7, 8, 3), fromList);
        toList.clear();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ListsTest.java

        /* toList modifications reflected in fromList */
        toList.remove(0);
        assertEquals(asList(5, 9, 3), fromList);
        toList.add(7);
        assertEquals(asList(7, 5, 9, 3), fromList);
        toList.add(5);
        assertEquals(asList(5, 7, 5, 9, 3), fromList);
        toList.remove(Integer.valueOf(5));
        assertEquals(asList(5, 7, 9, 3), fromList);
        toList.set(1, 8);
        assertEquals(asList(5, 7, 8, 3), fromList);
        toList.clear();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top