Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 2,000 for collections (0.07 seconds)

  1. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            final String json = new JsonIndexExportFormatter().format(source, Collections.emptySet());
    
            assertFalse(json.contains("field_with_null"));
        }
    
        @Test
        public void test_jsonFormatter_emptyMap() {
            final String json = new JsonIndexExportFormatter().format(Collections.emptyMap(), Collections.emptySet());
    
            assertTrue(json.contains("{"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/llm/RelevanceEvaluationResultTest.java

            assertEquals(Integer.valueOf(1), result.getRelevantIndexes().get(0));
        }
    
        @Test
        public void test_withRelevantDocs_emptyLists() {
            List<String> docIds = Collections.emptyList();
            List<Integer> indexes = Collections.emptyList();
            RelevanceEvaluationResult result = RelevanceEvaluationResult.withRelevantDocs(docIds, indexes);
    
            assertFalse(result.isHasRelevantResults());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

                    }
    
                    children.add(new ResolutionNode(a, remoteRepositories, this));
                }
                children = Collections.unmodifiableList(children);
            } else {
                children = Collections.emptyList();
            }
            trail = null;
        }
    
        /**
         * @return {@link List} &lt; {@link String} &gt; with artifact ids
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/llm/RelevanceEvaluationResult.java

                final boolean hasRelevantResults) {
            this.relevantDocIds = relevantDocIds != null ? Collections.unmodifiableList(relevantDocIds) : Collections.emptyList();
            this.relevantIndexes = relevantIndexes != null ? Collections.unmodifiableList(relevantIndexes) : Collections.emptyList();
            this.hasRelevantResults = hasRelevantResults;
        }
    
        /**
         * Returns the list of relevant document IDs.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  5. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            userResult.setToolchains(Collections.singletonList(toolchain));
    
            props = new Properties();
            props.put("key", "global_value");
            toolchain = new ToolchainModel();
            toolchain.setType("TYPE");
            toolchain.setProvides(props);
            PersistedToolchains globalResult = new PersistedToolchains();
            globalResult.setToolchains(Collections.singletonList(toolchain));
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 14K bytes
    - Click Count (0)
  6. benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/Allocators.java

    import org.elasticsearch.common.util.set.Sets;
    import org.elasticsearch.gateway.GatewayAllocator;
    import org.elasticsearch.snapshots.EmptySnapshotsInfoService;
    
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.atomic.AtomicInteger;
    
    public final class Allocators {
        private static class NoopGatewayAllocator extends GatewayAllocator {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Feb 03 00:10:53 GMT 2021
    - 3.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/api/WebApiManagerFactory.java

    package org.codelibs.fess.api;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    
    import jakarta.servlet.http.HttpServletRequest;
    
    /**
     * Factory class for managing and retrieving web API managers.
     * This factory maintains a collection of web API managers and provides
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/entity/SuggestItemMerger.java

            final Set<String> merged = new LinkedHashSet<>();
    
            if (array1 != null) {
                Collections.addAll(merged, array1);
            }
    
            if (array2 != null) {
                Collections.addAll(merged, array2);
            }
    
            return merged.toArray(new String[merged.size()]);
        }
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/SearchLogHelperTest.java

                return "test query";
            }
    
            @Override
            public Map<String, String[]> getFields() {
                return Collections.emptyMap();
            }
    
            @Override
            public Map<String, String[]> getConditions() {
                return Collections.emptyMap();
            }
    
            @Override
            public String[] getLanguages() {
                return new String[0];
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project;
    
    import java.util.Collections;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.lifecycle.DefaultLifecycles;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
Back to Top