Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for roadmap (0.4 sec)

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

        sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertSame("foo", sortedTable.rowMap().lastKey());
      }
    
      public void testRowKeyMapHeadMap() {
        sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        Map<String, Map<Integer, Character>> map = sortedTable.rowMap().headMap("cat");
        assertEquals(1, map.size());
        assertEquals(ImmutableMap.of(1, 'b'), map.get("bar"));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 15K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/DenseImmutableTable.java

        return ImmutableMap.<C, Map<R, V>>copyOf(columnMap);
      }
    
      @Override
      public ImmutableMap<R, Map<C, V>> rowMap() {
        // Casts without copying.
        ImmutableMap<R, ImmutableMap<C, V>> rowMap = this.rowMap;
        return ImmutableMap.<R, Map<C, V>>copyOf(rowMap);
      }
    
      @Override
      @CheckForNull
      public V get(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 10K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        return delegate.get(checkValid(key));
      }
    
      @Override
      public SortedMap<K, V> headMap(K toKey) {
        return headMap(toKey, false);
      }
    
      @Override
      public NavigableMap<K, V> headMap(K toKey, boolean inclusive) {
        return new SafeTreeMap<>(delegate.headMap(checkValid(toKey), inclusive));
      }
    
      @Override
      public @Nullable Entry<K, V> higherEntry(K key) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        return delegate.get(checkValid(key));
      }
    
      @Override
      public SortedMap<K, V> headMap(K toKey) {
        return headMap(toKey, false);
      }
    
      @Override
      public NavigableMap<K, V> headMap(K toKey, boolean inclusive) {
        return new SafeTreeMap<>(delegate.headMap(checkValid(toKey), inclusive));
      }
    
      @Override
      public @Nullable Entry<K, V> higherEntry(K key) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/TreeBasedTableRowMapTailMapTest.java

        TreeBasedTable<String, Integer, Character> table = makeTable();
        populateTable(table);
        return table.rowMap().tailMap("b");
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makeEmptyMap() {
        return makeTable().rowMap().tailMap("b");
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "a";
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/TreeBasedTableRowMapSubMapTest.java

        TreeBasedTable<String, Integer, Character> table = makeTable();
        populateTable(table);
        return table.rowMap().subMap("b", "x");
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makeEmptyMap() {
        return makeTable().rowMap().subMap("b", "x");
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "z";
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/AbstractImmutableTableTest.java

            // success
          }
        }
      }
    
      public final void testConsistentToString() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
          assertEquals(testInstance.rowMap().toString(), testInstance.toString());
        }
      }
    
      public final void testConsistentHashCode() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       *
       * <p>The {@link SortedMap#headMap} documentation states that a submap of a submap throws an
       * {@link IllegalArgumentException} if passed a {@code toKey} greater than an earlier {@code
       * toKey}. However, this method doesn't throw an exception in that situation, but instead keeps
       * the original {@code toKey}.
       */
      @Override
      public ImmutableSortedMap<K, V> headMap(K toKey) {
        return headMap(toKey, false);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java

      }
    
      public void testRowKeySet() {
        assertEquals(ImmutableSet.of('a'), testTable.rowKeySet());
      }
    
      public void testRowMap() {
        assertEquals(ImmutableMap.of('a', ImmutableMap.of(1, "blah")), testTable.rowMap());
      }
    
      public void testEqualsObject() {
        new EqualsTester()
            .addEqualityGroup(testTable, HashBasedTable.create(testTable))
            .addEqualityGroup(ImmutableTable.of(), HashBasedTable.create())
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).headMap("three", true);
        assertThat(map.entrySet())
            .containsExactly(Maps.immutableEntry("one", 1), Maps.immutableEntry("three", 3))
            .inOrder();
      }
    
      public void testHeadMapExclusive() {
        Map<String, Integer> map =
            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).headMap("three", false);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
Back to top