Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for makePopulatedMap (0.16 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

      protected abstract SortedMap<K, V> makeEmptyMap() throws UnsupportedOperationException;
    
      @Override
      protected abstract SortedMap<K, V> makePopulatedMap() throws UnsupportedOperationException;
    
      @Override
      protected SortedMap<K, V> makeEitherMap() {
        try {
          return makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return makeEmptyMap();
        }
      }
    
      public void testTailMapWriteThrough() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableBiMapMapInterfaceTest.java

        extends AbstractImmutableBiMapMapInterfaceTest<String, Integer> {
      @Override
      protected Map<String, Integer> makeEmptyMap() {
        return ImmutableBiMap.of();
      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        return ImmutableBiMap.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 16:16:28 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  3. android/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/ImmutableSortedMapHeadMapMapInterfaceTest.java

    import java.util.SortedMap;
    
    @GwtCompatible
    public class ImmutableSortedMapHeadMapMapInterfaceTest
        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).headMap("d");
      }
    
      @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)
  5. guava-tests/test/com/google/common/collect/ImmutableSortedMapSubMapMapInterfaceTest.java

    import java.util.SortedMap;
    
    @GwtCompatible
    public class ImmutableSortedMapSubMapMapInterfaceTest
        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).subMap("b", "d");
      }
    
      @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)
  6. guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableRowMapTest.java

        RowSortedTable<String, Integer, Character> original = TreeBasedTable.create();
        return unmodifiableRowSortedTable(original);
      }
    
      @Override
      protected SortedMap<String, Map<Integer, Character>> makePopulatedMap() {
        RowSortedTable<String, Integer, Character> table = TreeBasedTable.create();
        table.put("foo", 1, 'a');
        table.put("bar", 1, 'b');
        table.put("foo", 3, '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)
  7. 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)
  8. android/guava-tests/test/com/google/common/collect/ImmutableSortedMapSubMapMapInterfaceTest.java

    import java.util.SortedMap;
    
    @GwtCompatible
    public class ImmutableSortedMapSubMapMapInterfaceTest
        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).subMap("b", "d");
      }
    
      @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)
  9. android/guava-tests/test/com/google/common/collect/ImmutableSortedMapTailMapMapInterfaceTest.java

    import java.util.SortedMap;
    
    @GwtCompatible
    public class ImmutableSortedMapTailMapMapInterfaceTest
        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).tailMap("b");
      }
    
      @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)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedMapTailMapMapInterfaceTest.java

    import java.util.SortedMap;
    
    @GwtCompatible
    public class ImmutableSortedMapTailMapMapInterfaceTest
        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).tailMap("b");
      }
    
      @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)
Back to top