Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for sortedMap (0.16 sec)

  1. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

      private class SortedAsMap extends AsMap implements SortedMap<K, Collection<V>> {
        SortedAsMap(SortedMap<K, Collection<V>> submap) {
          super(submap);
        }
    
        SortedMap<K, Collection<V>> sortedMap() {
          return (SortedMap<K, Collection<V>>) submap;
        }
    
        @Override
        public @Nullable Comparator<? super K> comparator() {
          return sortedMap().comparator();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TreeBasedTable.java

       * returns a {@link SortedMap}, instead of the {@link Map} specified in the {@link Table}
       * interface.
       *
       * @since 10.0 (<a href="https://github.com/google/guava/wiki/Compatibility" >mostly
       *     source-compatible</a> since 7.0)
       */
      @Override
      public SortedMap<C, V> row(R rowKey) {
        return new TreeRow(rowKey);
      }
    
      private final class TreeRow extends Row implements SortedMap<C, V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/SortedMapDifference.java

      SortedMap<K, V> entriesOnlyOnRight();
    
      @Override
      SortedMap<K, V> entriesInCommon();
    
      @Override
      SortedMap<K, ValueDifference<V>> entriesDiffering();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. 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) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TreeBasedTableRowMapInterfaceTest.java

    import java.util.SortedMap;
    import org.jspecify.annotations.NullUnmarked;
    
    @GwtCompatible
    @NullUnmarked
    public class TreeBasedTableRowMapInterfaceTest extends SortedMapInterfaceTest<String, String> {
      public TreeBasedTableRowMapInterfaceTest() {
        super(false, false, true, true, true);
      }
    
      @Override
      protected SortedMap<String, String> makeEmptyMap() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

            TestSortedMapGenerator<K, V> delegate, Bound to, Bound from) {
          super(delegate, to, from);
        }
    
        @Override
        NavigableMap<K, V> createSubMap(SortedMap<K, V> sortedMap, K firstExclusive, K lastExclusive) {
          NavigableMap<K, V> map = (NavigableMap<K, V>) sortedMap;
          if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) {
            return map.headMap(lastInclusive, true);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/SingletonImmutableSortedMapMapInterfaceTest.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.SortedMap;
    import org.jspecify.annotations.NullUnmarked;
    
    @GwtCompatible
    @NullUnmarked
    public class SingletonImmutableSortedMapMapInterfaceTest
        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("one", 1);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableRowMapTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.TableCollectionTest.RowMapTests;
    import java.util.Map;
    import java.util.SortedMap;
    import org.jspecify.annotations.NullMarked;
    
    @GwtCompatible
    @NullMarked
    public class UnmodifiableRowSortedTableRowMapTest extends RowMapTests {
      public UnmodifiableRowSortedTableRowMapTest() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeBasedTable.java

       * returns a {@link SortedMap}, instead of the {@link Map} specified in the {@link Table}
       * interface.
       *
       * @since 10.0 (<a href="https://github.com/google/guava/wiki/Compatibility" >mostly
       *     source-compatible</a> since 7.0)
       */
      @Override
      public SortedMap<C, V> row(R rowKey) {
        return new TreeRow(rowKey);
      }
    
      private final class TreeRow extends Row implements SortedMap<C, V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top