Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,941 for cmap (0.06 sec)

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

      }
    
      public void testCreateFromMap() {
        /* Test with non-empty Map. */
        Map<Currency, Country> map =
            ImmutableMap.of(
                Currency.DOLLAR, Country.CANADA,
                Currency.PESO, Country.CHILE,
                Currency.FRANC, Country.SWITZERLAND);
        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map);
        assertEquals(Country.CANADA, bimap.get(Currency.DOLLAR));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Functions.java

          Map<K, ? extends V> map, @ParametricNullness V defaultValue) {
        return new ForMapWithDefault<>(map, defaultValue);
      }
    
      private static final class FunctionForMapNoDefault<
              K extends @Nullable Object, V extends @Nullable Object>
          implements Function<K, V>, Serializable {
        final Map<K, V> map;
    
        FunctionForMapNoDefault(Map<K, V> map) {
          this.map = checkNotNull(map);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

       * implementation, because {@code map.get()} returns a view collection that changes in the course
       * of a call to {@code remove()}. Thus, the expectation doesn't hold that {@code map.remove(x)}
       * returns the same value which {@code map.get(x)} did immediately beforehand.
       */
      @Override
      public void testRemove() {
        Map<String, Collection<Integer>> map;
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 14:47:20 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

      static final Predicate<Entry<String, Integer>> CORRECT_LENGTH =
          input -> input.getKey().length() == input.getValue();
    
      abstract Map<String, Integer> createUnfiltered();
    
      public void testFilteredKeysIllegalPut() {
        Map<String, Integer> unfiltered = createUnfiltered();
        Map<String, Integer> filtered = Maps.filterKeys(unfiltered, NOT_LENGTH_3);
        filtered.put("a", 1);
        filtered.put("b", 2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java

            assertEquals("bar", fieldConfigs.getConfig("foo").map(FieldConfigs.Config::getValues).orElse(new String[0])[0]);
        }
    
        public void test_cache_true() {
            final Map<String, String> params = Maps.of("foo", "true");
            FieldConfigs fieldConfigs = new FieldConfigs(params);
            assertTrue(fieldConfigs.getConfig("test").isEmpty());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. dbflute_fess/dfprop/documentMap.dfprop

    # o isCheckDbCommentDiff: (NotRequired - Default false)
    # o isCheckProcedureDiff: (NotRequired - Default false)
    # o loadDataReverseMap: (NotRequired - Default map:{})
    # o schemaSyncCheckMap: (NotRequired - Default map:{})
    # o propertiesHtmlMap: (NotRequired - Default map:{})
    #
    # Example:
    # map:{
    #     ; documentOutputDirectory = ./output/doc
    #     ; aliasDelimiterInDbComment = :
    #     ; isDbCommentOnAliasBasis = true
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 31 23:35:14 UTC 2015
    - 9.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

          }
        }
      }
    
      /**
       * Returns an immutable map containing the same entries as {@code map}. If {@code map} somehow
       * contains entries with duplicate keys (for example, if it is a {@code SortedMap} whose
       * comparator is not <i>consistent with equals</i>), the results of this method are undefined.
       *
       * <p><b>Note:</b> Despite what the method name suggests, if {@code map} is an {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/entity/ParamMap.java

     */
    public class ParamMap<K, V> implements Map<K, V> {
    
        private final Map<K, V> parent;
    
        /**
         * Creates a new parameter map.
         *
         * @param parent the parent map
         */
        public ParamMap(final Map<K, V> parent) {
            this.parent = parent;
        }
    
        /**
         * Gets the parent map.
         *
         * @return the parent map
         */
        public Map<K, V> getParent() {
            return parent;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

          Gist gist = gistJsonAdapter.fromJson(response.body().source());
    
          for (Map.Entry<String, GistFile> entry : gist.files.entrySet()) {
            System.out.println(entry.getKey());
            System.out.println(entry.getValue().content);
          }
        }
      }
    
      static class Gist {
        Map<String, GistFile> files;
      }
    
      static class GistFile {
        String content;
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/entity/FacetQueryView.java

            this.title = title;
        }
    
        /**
         * Gets the map of display keys to query strings.
         *
         * @return the query map
         */
        public Map<String, String> getQueryMap() {
            return queryMap;
        }
    
        /**
         * Adds a query to the query map with the specified display key.
         *
         * @param key the display key for the query
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top