Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 61 for makePopulatedMap (0.1 sec)

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

    public class SingletonImmutableMapWithUnhashableValueMapInterfaceTest
        extends RegularImmutableMapWithUnhashableValuesMapInterfaceTest {
      @Override
      protected Map<Integer, UnhashableObject> makePopulatedMap() {
        Unhashables unhashables = new Unhashables();
        return ImmutableMap.of(0, unhashables.e0());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 09 02:18:08 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ReserializedImmutableMapMapInterfaceTest.java

    @GwtIncompatible // SerializableTester
    public class ReserializedImmutableMapMapInterfaceTest
        extends AbstractImmutableMapMapInterfaceTest<String, Integer> {
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        return SerializableTester.reserialize(ImmutableMap.of("one", 1, "two", 2, "three", 3));
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "minus one";
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 09 02:18:08 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSortedMapHeadMapInclusiveMapInterfaceTest.java

    @GwtCompatible
    public class ImmutableSortedMapHeadMapInclusiveMapInterfaceTest
        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).headMap("c", true);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "d";
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 17 01:34:55 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedMapTailMapExclusiveMapInterfaceTest.java

    @GwtCompatible
    public class ImmutableSortedMapTailMapExclusiveMapInterfaceTest
        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).tailMap("a", false);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "a";
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 17 01:34:55 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SingletonImmutableMapMapInterfaceTest.java

    import java.util.Map;
    
    @GwtCompatible
    public class SingletonImmutableMapMapInterfaceTest
        extends AbstractImmutableMapMapInterfaceTest<String, Integer> {
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        return ImmutableMap.of("one", 1);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "minus one";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 09 02:18:08 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/TablesTransformValuesRowTest.java

        Table<Character, String, Integer> table = HashBasedTable.create();
        return transformValues(table, TableCollectionTest.DIVIDE_BY_2);
      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        Table<Character, String, Integer> table = HashBasedTable.create();
        table.put('a', "one", 2);
        table.put('a', "two", 4);
        table.put('a', "three", 6);
        table.put('b', "four", 8);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TreeBasedTableRowMapSubMapTest.java

        table.put("a", 1, 'a');
        table.put("z", 1, 'a');
        return table;
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makePopulatedMap() {
        TreeBasedTable<String, Integer, Character> table = makeTable();
        populateTable(table);
        return table.rowMap().subMap("b", "x");
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableColumnMapTest.java

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

        Table<String, Integer, Character> original = HashBasedTable.create();
        return unmodifiableTable(original);
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makePopulatedMap() {
        Table<String, Integer, Character> table = HashBasedTable.create();
        table.put("foo", 1, 'a');
        table.put("bar", 1, 'b');
        table.put("foo", 3, 'c');
        return unmodifiableTable(table).rowMap();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. 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)
Back to top