Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for SortedMap (0.17 sec)

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

      @Override
      protected SortedMap<String, Integer> makeEmptyMap() {
        return new SimpleForwardingSortedMap<>(
            new TreeMap<String, Integer>(Ordering.<String>natural().nullsFirst()));
      }
    
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        final SortedMap<String, Integer> sortedMap = makeEmptyMap();
        sortedMap.put("one", 1);
        sortedMap.put("two", 2);
        sortedMap.put("three", 3);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractSortedKeySortedSetMultimap.java

        extends AbstractSortedSetMultimap<K, V> {
    
      AbstractSortedKeySortedSetMultimap(SortedMap<K, Collection<V>> map) {
        super(map);
      }
    
      @Override
      public SortedMap<K, Collection<V>> asMap() {
        return (SortedMap<K, Collection<V>>) super.asMap();
      }
    
      @Override
      SortedMap<K, Collection<V>> backingMap() {
        return (SortedMap<K, Collection<V>>) super.backingMap();
      }
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

        suite.addTest(
            SortedMapTestSuiteBuilder.using(
                    new TestStringSortedMapGenerator() {
                      @Override
                      protected SortedMap<String, String> create(Entry<String, String>[] entries) {
                        SortedMap<String, String> map = new NonNavigableSortedMap();
                        putEntries(map, entries);
                        map.putAll(ENTRIES_TO_FILTER);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

        SortedMap<Integer, Character> row = sortedTable.row("c");
        assertEquals(2, row.size());
        assertEquals(1, row.tailMap(15).size());
      }
    
      public void testSubRowClearAndPut() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        SortedMap<Integer, Character> row = (SortedMap<Integer, Character>) table.row("foo");
        SortedMap<Integer, Character> subRow = row.tailMap(2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractNavigableMap.java

      @Override
      public SortedMap<K, V> subMap(@ParametricNullness K fromKey, @ParametricNullness K toKey) {
        return subMap(fromKey, true, toKey, false);
      }
    
      @Override
      public SortedMap<K, V> headMap(@ParametricNullness K toKey) {
        return headMap(toKey, false);
      }
    
      @Override
      public SortedMap<K, V> tailMap(@ParametricNullness K fromKey) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jun 15 18:11:44 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

            delegate.subMap(checkValid(fromKey), fromInclusive, checkValid(toKey), toInclusive));
      }
    
      @Override
      public SortedMap<K, V> subMap(K fromKey, K toKey) {
        return subMap(fromKey, true, toKey, false);
      }
    
      @Override
      public SortedMap<K, V> tailMap(K fromKey) {
        return tailMap(fromKey, true);
      }
    
      @Override
      public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) {
    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)
  7. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

            delegate.subMap(checkValid(fromKey), fromInclusive, checkValid(toKey), toInclusive));
      }
    
      @Override
      public SortedMap<K, V> subMap(K fromKey, K toKey) {
        return subMap(fromKey, true, toKey, false);
      }
    
      @Override
      public SortedMap<K, V> tailMap(K fromKey) {
        return tailMap(fromKey, true);
      }
    
      @Override
      public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) {
    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)
  8. guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

    import com.google.common.collect.testing.TestStringListGenerator;
    import com.google.common.collect.testing.TestStringSortedMapGenerator;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    
    /**
     * Generators of sorted maps and derived collections.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     * @author Jared Levy
     * @author Hayward Chan
     * @author Chris Povirk
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

        assertTrue(multimap.asMap() instanceof SortedMap);
      }
    
      public void testTreeKeys_gwtCompatible() {
        ListMultimap<String, Integer> multimap =
            rawtypeToWildcard(MultimapBuilder.treeKeys()).arrayListValues().<String, Integer>build();
        assertTrue(multimap.keySet() instanceof SortedSet);
        assertTrue(multimap.asMap() instanceof SortedMap);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 27 09:26:07 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractSortedKeySortedSetMultimap.java

        extends AbstractSortedSetMultimap<K, V> {
    
      AbstractSortedKeySortedSetMultimap(SortedMap<K, Collection<V>> map) {
        super(map);
      }
    
      @Override
      public SortedMap<K, Collection<V>> asMap() {
        return (SortedMap<K, Collection<V>>) super.asMap();
      }
    
      @Override
      SortedMap<K, Collection<V>> backingMap() {
        return (SortedMap<K, Collection<V>>) super.backingMap();
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 1.8K bytes
    - Viewed (0)
Back to top