Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 375 for hashMap (0.04 seconds)

  1. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            }
    
            // Test GET with non-existent ID
            response = checkMethodBase(new HashMap<>()).get("/api/admin/crawlinginfo/log/nonexistent_id").asString();
            assertEquals(1, JsonPath.from(response).getInt("response.status"));
    
            // Test PUT /api/admin/crawlinginfo/logs
            final Map<String, Object> putBody = new HashMap<>();
            putBody.put("size", 10);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:01:34 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            thumbnailManager.add(generator);
    
            Map<String, Object> docMap = new HashMap<>();
            docMap.put("_id", "docid1");
    
            // Fill the queue
            thumbnailManager.offer(docMap);
    
            // Try to add another - should succeed (warning logged but still returns true)
            Map<String, Object> docMap2 = new HashMap<>();
            docMap2.put("_id", "docid2");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/it/search/PopularWordsApiTests.java

    import static org.hamcrest.Matchers.greaterThanOrEqualTo;
    import static org.hamcrest.Matchers.notNullValue;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.it.ITBase;
    import org.junit.jupiter.api.AfterAll;
    import org.junit.jupiter.api.BeforeAll;
    import org.junit.jupiter.api.Tag;
    import org.junit.jupiter.api.Test;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

        Map<String, Integer> underlying = new HashMap<>();
        underlying.put("a", 1);
        Map<String, String> map = transformValues(underlying, Functions.toStringFunction());
        assertThat(map.remove("a")).isEqualTo("1");
        assertThat(map.remove("b")).isNull();
      }
    
      public void testTransformEqualityOfMapsWithNullValues() {
        Map<String, @Nullable String> underlying = new HashMap<>();
        underlying.put("a", null);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/DocListTest.java

        @Test
        public void test_list_operations_with_metrics() {
            DocList docList = new DocList();
    
            Map<String, Object> doc1 = new HashMap<>();
            doc1.put("id", "1");
            doc1.put("title", "Test Document 1");
    
            Map<String, Object> doc2 = new HashMap<>();
            doc2.put("id", "2");
            doc2.put("title", "Test Document 2");
    
            docList.add(doc1);
            docList.add(doc2);
    
    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)
  6. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.junit.jupiter.api.Assertions.fail;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.ThreadUtil;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/collection/Maps.java

         *
         * @param <KEY> the key type of the <code>Map</code>
         * @param <VALUE> the value type of the <code>Map</code>
         * @param key the key to be added to the <code>Map</code>
         * @param value the value to be added to the <code>Map</code>
         * @return a {@literal Maps} for constructing a {@link HashMap} with the specified key and value
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/MapsTest.java

        Map<@Nullable String, String> hashmap = new HashMap<>();
        hashmap.put("foo", "bar");
        hashmap.put(null, "baz");
    
        assertThat(Maps.toStringImpl(hashmap)).isEqualTo(hashmap.toString());
      }
    
      public void testToStringImplWithNullValues() throws Exception {
        Map<String, @Nullable String> hashmap = new HashMap<>();
        hashmap.put("foo", "bar");
        hashmap.put("baz", null);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorErrorHandlingTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.rank.fusion;
    
    import java.util.HashMap;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    
    import org.apache.lucene.search.TotalHits.Relation;
    import org.codelibs.fess.entity.FacetInfo;
    import org.codelibs.fess.entity.GeoInfo;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/EnumHashBiMap.java

    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.util.EnumMap;
    import java.util.HashMap;
    import java.util.Map;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@code BiMap} backed by an {@code EnumMap} instance for keys-to-values, and a {@code HashMap}
     * instance for values-to-keys. Null keys are not permitted, but null values are. An {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 5.2K bytes
    - Click Count (0)
Back to Top