Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 121 for SortedMap (0.28 sec)

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

    import com.google.common.annotations.GwtCompatible;
    import java.util.Iterator;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    
    /**
     * Tests representing the contract of {@link SortedMap}. Concrete subclasses of this base class test
     * conformance of concrete {@link SortedMap} subclasses to that contract.
     *
     * @author Jared Levy
     */
    // TODO: Use this class to test classes besides ImmutableSortedMap.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ReserializedImmutableSortedMapMapInterfaceTest.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.testing.SerializableTester;
    import java.util.SortedMap;
    
    @GwtIncompatible // SerializableTester
    public class ReserializedImmutableSortedMapMapInterfaceTest
        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 17 01:34:55 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

        return SortedMapTestSuiteBuilder.using(
                new TestStringSortedMapGenerator() {
                  @Override
                  protected SortedMap<String, String> create(Entry<String, String>[] entries) {
                    SortedMap<String, String> map = populate(new TreeMap<String, String>(), entries);
                    return Collections.checkedSortedMap(map, String.class, String.class);
                  }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 17K 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) {
    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)
  5. 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)
  6. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

        extends ForwardingMap<K, V> implements SortedMap<K, V> {
      // TODO(lowasser): identify places where thread safety is actually lost
    
      /** Constructor for use by subclasses. */
      protected ForwardingSortedMap() {}
    
      @Override
      protected abstract SortedMap<K, V> delegate();
    
      @Override
      @CheckForNull
      public Comparator<? super K> comparator() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/StandardRowSortedTable.java

      }
    
      /**
       * {@inheritDoc}
       *
       * <p>This method returns a {@link SortedMap}, instead of the {@code Map} specified in the {@link
       * Table} interface.
       */
      @Override
      public SortedMap<R, Map<C, V>> rowMap() {
        return (SortedMap<R, Map<C, V>>) super.rowMap();
      }
    
      @Override
      SortedMap<R, Map<C, V>> createRowMap() {
        return new RowSortedMap();
      }
    
      @WeakOuter
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jul 15 15:41:16 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

        TreeMapImpl {
          @Override
          public <K extends Comparable<K>, V> SortedMap<K, V> create(Map<K, V> map) {
            SortedMap<K, V> result = Maps.newTreeMap();
            result.putAll(map);
            return result;
          }
        },
        ConcurrentSkipListImpl {
          @Override
          public <K extends Comparable<K>, V> SortedMap<K, V> create(Map<K, V> map) {
            return new ConcurrentSkipListMap<>(map);
          }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Mar 04 04:06:35 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

        TreeMapImpl {
          @Override
          public <K extends Comparable<K>, V> SortedMap<K, V> create(Map<K, V> map) {
            SortedMap<K, V> result = Maps.newTreeMap();
            result.putAll(map);
            return result;
          }
        },
        ConcurrentSkipListImpl {
          @Override
          public <K extends Comparable<K>, V> SortedMap<K, V> create(Map<K, V> map) {
            return new ConcurrentSkipListMap<>(map);
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Mar 04 04:06:35 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  10. android/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
        @CheckForNull
        public Comparator<? super K> comparator() {
          return sortedMap().comparator();
        }
    
    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)
Back to top