Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 61 for makePopulatedMap (0.21 sec)

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

      @Override
      protected SortedMap<String, String> makeEmptyMap() {
        return transformValues(Maps.<String, String>newTreeMap(), Functions.<String>identity());
      }
    
      @Override
      protected SortedMap<String, String> makePopulatedMap() {
        SortedMap<String, Integer> underlying = Maps.newTreeMap();
        underlying.put("a", 1);
        underlying.put("b", 2);
        underlying.put("c", 3);
        return transformValues(underlying, Functions.toStringFunction());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java

        extends SortedMapInterfaceTest<String, Integer> {
      public ReserializedSafeTreeMapMapInterfaceTest() {
        super(false, true, true, true, true);
      }
    
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        NavigableMap<String, Integer> map = new SafeTreeMap<>();
        map.put("one", 1);
        map.put("two", 2);
        map.put("three", 3);
        return SerializableTester.reserialize(map);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 18 18:06:40 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java

      @Override
      protected Map<String, String> makeEmptyMap() {
        return transformValues(Maps.<String, String>newHashMap(), Functions.<String>identity());
      }
    
      @Override
      protected Map<String, String> makePopulatedMap() {
        Map<String, Integer> underlying = Maps.newHashMap();
        underlying.put("a", 1);
        underlying.put("b", 2);
        underlying.put("c", 3);
        return transformValues(underlying, Functions.toStringFunction());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableRowTest.java

        RowSortedTable<Character, String, Integer> table = TreeBasedTable.create();
        return unmodifiableRowSortedTable(table);
      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        RowSortedTable<Character, String, Integer> table = TreeBasedTable.create();
        table.put('a', "one", 1);
        table.put('a', "two", 2);
        table.put('a', "three", 3);
        table.put('b', "four", 4);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/UnmodifiableTableColumnMapTest.java

        Table<Integer, String, Character> original = HashBasedTable.create();
        return unmodifiableTable(original);
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makePopulatedMap() {
        Table<Integer, String, Character> table = HashBasedTable.create();
        table.put(1, "foo", 'a');
        table.put(1, "bar", 'b');
        table.put(3, "foo", 'c');
        return unmodifiableTable(table).columnMap();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java

      protected Map<String, Collection<Integer>> makeEmptyMap() {
        Multimap<String, Integer> multimap = createMultimap();
        return multimap.asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Multimap<String, Integer> multimap = createMultimap();
        populate(multimap);
        return multimap.asMap();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java

      protected Map<String, Collection<Integer>> makeEmptyMap() {
        Map<String, Integer> map = Maps.newHashMap();
        return Multimaps.forMap(map).asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Map<String, Integer> map = Maps.newHashMap();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("cow", 3);
        return Multimaps.forMap(map).asMap();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TreeBasedTableRowMapInterfaceTest.java

        table.put("a", "b", "c");
        table.put("c", "b", "a");
        table.put("a", "a", "d");
        return table.row("b");
      }
    
      @Override
      protected SortedMap<String, String> makePopulatedMap() {
        TreeBasedTable<String, String, String> table = TreeBasedTable.create();
        table.put("a", "b", "c");
        table.put("c", "b", "a");
        table.put("b", "b", "x");
        table.put("b", "c", "y");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 29 15:15:31 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java

      }
    
      @Override
      protected Map<String, Collection<Integer>> makeEmptyMap() {
        return createMultimap().asMap().subMap("e", "p");
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        TreeMultimap<String, Integer> multimap = createMultimap();
        multimap.put("f", 1);
        multimap.put("f", 2);
        multimap.put("g", 3);
        multimap.put("h", 4);
        return multimap.asMap().subMap("e", "p");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/TreeBasedTableRowMapInterfaceTest.java

        table.put("a", "b", "c");
        table.put("c", "b", "a");
        table.put("a", "a", "d");
        return table.row("b");
      }
    
      @Override
      protected SortedMap<String, String> makePopulatedMap() {
        TreeBasedTable<String, String, String> table = TreeBasedTable.create();
        table.put("a", "b", "c");
        table.put("c", "b", "a");
        table.put("b", "b", "x");
        table.put("b", "c", "y");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 29 15:15:31 UTC 2022
    - 2.3K bytes
    - Viewed (0)
Back to top