Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 375 for hashMap (0.04 seconds)

  1. src/test/java/org/codelibs/curl/CurlResponseTest.java

    import static org.junit.Assert.assertSame;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.curl.io.ContentCache;
    import org.junit.Test;
    
    /**
     * Test class for CurlResponse.
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 17.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

         * Test SearchResult with documents.
         */
        @Test
        public void test_searchResultWithDocuments() {
            final Map<String, Object> doc1 = new HashMap<>();
            doc1.put("_id", "doc1");
            doc1.put("title", "Document 1");
    
            final Map<String, Object> doc2 = new HashMap<>();
            doc2.put("_id", "doc2");
            doc2.put("title", "Document 2");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            // Create a mock crawlingInfoHelper that tracks status updates
            final Map<String, String> statusMap = new HashMap<>();
            CrawlingInfoHelper testCrawlingInfoHelper = new CrawlingInfoHelper() {
                private final Map<String, String> infoMap = new HashMap<>();
    
                @Override
                public void store(String sessionId, boolean running) {
                    // Track the final status
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/it/admin/StatsTests.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.junit.jupiter.api.Assertions.fail;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.it.CrudTestBase;
    import org.junit.jupiter.api.AfterEach;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.entity;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.unit.UnitFessTestCase;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.6K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java

      }
    
      @Override
      protected Map<String, Collection<Integer>> makeEmptyMap() {
        Map<String, Integer> map = new HashMap<>();
        return Multimaps.forMap(map).asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Map<String, Integer> map = new HashMap<>();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("cow", 3);
        return Multimaps.forMap(map).asMap();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java

      }
    
      @Override
      protected Map<String, Collection<Integer>> makeEmptyMap() {
        Map<String, Integer> map = new HashMap<>();
        return Multimaps.forMap(map).asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Map<String, Integer> map = new HashMap<>();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("cow", 3);
        return Multimaps.forMap(map).asMap();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/HashMultiset.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.util.HashMap;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Multiset implementation backed by a {@link HashMap}.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/it/admin/RelatedContentTests.java

            final Map<String, Object> requestBody = new HashMap<>();
            final String keyProp = NAME_PREFIX + id;
            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("content", "query" + id);
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            updateMap.put("content", "new_query");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            final Map<String, Object> doc = new HashMap<>();
            doc.put("doc_id", "existing_id");
            doc.put("url", "http://example.com");
    
            indexUpdater.updateDocument(doc);
    
            assertEquals("existing_id", doc.get("doc_id"));
        }
    
        // Test addBoostValue
        @Test
        public void test_addBoostValue() {
            final Map<String, Object> doc = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
Back to Top