Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Roadmap (0.17 sec)

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

            assertThat(navigableMap.headMap(key, inclusive).entrySet())
                .containsExactlyElementsIn(expected.headMap(key, inclusive).entrySet())
                .inOrder();
            assertThat(navigableMap.tailMap(key, inclusive).entrySet())
                .containsExactlyElementsIn(expected.tailMap(key, inclusive).entrySet())
                .inOrder();
            assertThat(navigableMap.headMap(key, inclusive).descendingMap().entrySet())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 24.3K bytes
    - Viewed (0)
  2. 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)
  3. android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

      }
    
      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"));
        map.clear();
        assertTrue(map.isEmpty());
        assertEquals(Collections.singleton("foo"), sortedTable.rowKeySet());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        SortedMap<String, Integer> headMap = map.headMap("a");
        assertTrue(headMap instanceof SynchronizedSortedMap);
        assertSame(mutex, ((SynchronizedSortedMap<String, Integer>) headMap).mutex);
      }
    
      public void testHeadMap_K_B() {
        NavigableMap<String, Integer> map = create();
        NavigableMap<String, Integer> headMap = map.headMap("a", true);
        assertTrue(headMap instanceof SynchronizedNavigableMap);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        }
    
        @Override
        public NavigableMap<K, Collection<V>> headMap(@ParametricNullness K toKey) {
          return headMap(toKey, false);
        }
    
        @Override
        public NavigableMap<K, Collection<V>> headMap(@ParametricNullness K toKey, boolean inclusive) {
          return new NavigableAsMap(sortedMap().headMap(toKey, inclusive));
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 46.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

      }
    
      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"));
        map.clear();
        assertTrue(map.isEmpty());
        assertEquals(Collections.singleton("foo"), sortedTable.rowKeySet());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 15K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        Set<Integer> treeValues = ImmutableSet.of(4, 0);
        assertEquals(ImmutableMap.of("google", googleValues, "tree", treeValues), asMap.tailMap("g"));
        assertEquals(ImmutableMap.of("google", googleValues, "foo", fooValues), asMap.headMap("h"));
        assertEquals(ImmutableMap.of("google", googleValues), asMap.subMap("g", "h"));
      }
    
      public void testTailSetClear() {
        TreeMultimap<String, Integer> multimap = TreeMultimap.create();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        SortedMap<String, Integer> headMap = map.headMap("a");
        assertTrue(headMap instanceof SynchronizedSortedMap);
        assertSame(mutex, ((SynchronizedSortedMap<String, Integer>) headMap).mutex);
      }
    
      public void testHeadMap_K_B() {
        NavigableMap<String, Integer> map = create();
        NavigableMap<String, Integer> headMap = map.headMap("a", true);
        assertTrue(headMap instanceof SynchronizedNavigableMap);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

         */
        SortedMap<K, V> createSubMap(SortedMap<K, V> map, K firstExclusive, K lastExclusive) {
          if (from == Bound.NO_BOUND && to == Bound.EXCLUSIVE) {
            return map.headMap(lastExclusive);
          } else if (from == Bound.INCLUSIVE && to == Bound.NO_BOUND) {
            return map.tailMap(firstInclusive);
          } else if (from == Bound.INCLUSIVE && to == Bound.EXCLUSIVE) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        Set<Integer> treeValues = ImmutableSet.of(4, 0);
        assertEquals(ImmutableMap.of("google", googleValues, "tree", treeValues), asMap.tailMap("g"));
        assertEquals(ImmutableMap.of("google", googleValues, "foo", fooValues), asMap.headMap("h"));
        assertEquals(ImmutableMap.of("google", googleValues), asMap.subMap("g", "h"));
      }
    
      public void testTailSetClear() {
        TreeMultimap<String, Integer> multimap = TreeMultimap.create();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top