Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,870 for map (0.01 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

      public void testEmptyBuilder() {
        ImmutableBiMap<String, Integer> map = new Builder<String, Integer>().build();
        assertEquals(Collections.<String, Integer>emptyMap(), map);
        assertEquals(Collections.<Integer, String>emptyMap(), map.inverse());
        assertSame(ImmutableBiMap.of(), map);
      }
    
      public void testSingletonBuilder() {
        ImmutableBiMap<String, Integer> map = new Builder<String, Integer>().put("one", 1).build();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/MapsTest.java

    import static org.codelibs.core.collection.Maps.map;
    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertThat;
    
    import java.util.Map;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class MapsTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final Map<String, Integer> map = map("a", 1).$("b", 2).$("c", 3).$();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/admin/SearchListTests.java

            // Test: update settings api
            final Map<String, Object> updateMap = getUpdateMap();
            final Map<String, Object> searchBody = createSearchBody(SEARCH_ALL_NUM);
            List<Map<String, Object>> settings = getItemList(searchBody);
    
            for (Map<String, Object> setting : settings) {
                final Map<String, Object> requestBody = new HashMap<>(updateMap);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 12 02:18:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. tests/create_test.go

    	}
    
    	// case 1: one record, create from map[string]interface{}
    	mapValue1 := map[string]interface{}{"name": "create_from_map_with_schema1", "age": 1}
    	if err := DB.Model(&User{}).Create(mapValue1).Error; err != nil {
    		t.Fatalf("failed to create data from map, got error: %v", err)
    	}
    
    	if _, ok := mapValue1["id"]; !ok {
    		t.Fatal("failed to create data from map with table, returning map has no primary key")
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 09:55:20 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/opensearch/config/exentity/WebConfigTest.java

                public void setInitParameterMap(final Map<String, Object> params) {
                    initParamMapSet.set(params);
                }
            });
            assertNotNull(crawlerClientFactory);
            Map<String, Object> initParamMap = initParamMapSet.get();
            assertNotNull(initParamMap);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

      }
    
      // Creates a replacement array from the given map. The returned array is a
      // linear lookup table of replacement character sequences indexed by the
      // original character value.
      @VisibleForTesting
      static char[][] createReplacementArray(Map<Character, String> map) {
        checkNotNull(map); // GWT specific check (do not optimize)
        if (map.isEmpty()) {
          return EMPTY_REPLACEMENT_ARRAY;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

        // keeping parsed request parameters, normal texts or uploaded files
        // keys are requested parameter names (treated as field name here)
        protected Map<String, Object> elementsAll; // lazy-loaded, then after not null
        protected Map<String, MultipartFormFile> elementsFile; // me too
        protected Map<String, String[]> elementsText; // me too
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

         * Determines if the given document data matches the configured match expression.
         *
         * @param map the document data as a map of field names to values
         * @return true if the document matches the expression, false otherwise
         */
        public boolean match(final Map<String, Object> map) {
    
            if (map == null || map.isEmpty() || matchExpression == null) {
                return false;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/admin/PluginTests.java

            return ITEM_ENDPOINT_SUFFIX;
        }
    
        @Override
        protected Map<String, Object> createTestParam(int id) {
            final Map<String, Object> requestBody = new HashMap<>();
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            return updateMap;
        }
    
        @AfterEach
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/script/ScriptEngineFactory.java

         */
        public ScriptEngineFactory() {
            super();
        }
    
        private static final Logger logger = LogManager.getLogger(ScriptEngineFactory.class);
    
        /**
         * A map of script engines.
         */
        protected Map<String, ScriptEngine> scriptEngineMap = new LinkedHashMap<>();
    
        /**
         * Adds a script engine.
         * @param name The name of the script engine.
         * @param scriptEngine The script engine.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top