Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for EntryTransformer (0.14 sec)

  1. android/guava/src/com/google/common/collect/Maps.java

       * example, the code:
       *
       * <pre>{@code
       * Map<String, Boolean> options =
       *     ImmutableMap.of("verbose", true, "sort", false);
       * EntryTransformer<String, Boolean, String> flagPrefixer =
       *     new EntryTransformer<String, Boolean, String>() {
       *       public String transformEntry(String key, Boolean value) {
       *         return value ? key : "no" + key;
       *       }
       *     };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Maps.java

       * example, the code:
       *
       * <pre>{@code
       * Map<String, Boolean> options =
       *     ImmutableMap.of("verbose", true, "sort", false);
       * EntryTransformer<String, Boolean, String> flagPrefixer =
       *     new EntryTransformer<String, Boolean, String>() {
       *       public String transformEntry(String key, Boolean value) {
       *         return value ? key : "no" + key;
       *       }
       *     };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

       * For example, the code:
       *
       * <pre>{@code
       * SetMultimap<String, Integer> multimap =
       *     ImmutableSetMultimap.of("a", 1, "a", 4, "b", -6);
       * EntryTransformer<String, Integer, String> transformer =
       *     new EntryTransformer<String, Integer, String>() {
       *       public String transformEntry(String key, Integer value) {
       *          return (value >= 0) ? key : "no" + key;
       *       }
       *     };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

              @Override
              public String apply(String value) {
                return Ascii.toLowerCase(value);
              }
            };
    
        static final EntryTransformer<String, String, String> ENTRY_TRANSFORMER =
            new EntryTransformer<String, String, String>() {
              @Override
              public String transformEntry(String key, String value) {
                return Ascii.toLowerCase(value);
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

      @GwtIncompatible(value = "untested")
      public void testTransformEntries() {
        SetMultimap<String, Integer> multimap = ImmutableSetMultimap.of("a", 1, "a", 4, "b", -6);
        EntryTransformer<String, Integer, String> transformer =
            new EntryTransformer<String, Integer, String>() {
              @Override
              public String transformEntry(String key, Integer value) {
                return (value >= 0) ? key : "no" + key;
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

              @Override
              public String apply(String value) {
                return Ascii.toLowerCase(value);
              }
            };
    
        static final EntryTransformer<String, String, String> ENTRY_TRANSFORMER =
            new EntryTransformer<String, String, String>() {
              @Override
              public String transformEntry(String key, String value) {
                return Ascii.toLowerCase(value);
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.9K bytes
    - Viewed (0)
Back to top