Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for NavigableMap (0.12 sec)

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

      @Override
      protected <K, V> NavigableMap<K, V> create() {
        @SuppressWarnings("unchecked")
        NavigableMap<K, V> innermost =
            new SafeTreeMap<>((Comparator<? super K>) Ordering.natural().nullsFirst());
        TestMap<K, V> inner = new TestMap<>(innermost, mutex);
        NavigableMap<K, V> outer = Synchronized.navigableMap(inner, mutex);
        return outer;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

      }
    
      <K, V> void testNavigationAgainstExpected(
          NavigableMap<K, V> expected, NavigableMap<K, V> navigableMap, Iterable<K> keysToTest) {
        for (K key : keysToTest) {
          assertEquals(expected.lowerEntry(key), navigableMap.lowerEntry(key));
          assertEquals(expected.floorEntry(key), navigableMap.floorEntry(key));
          assertEquals(expected.ceilingEntry(key), navigableMap.ceilingEntry(key));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

        return SortedMapTestSuiteBuilder.using(
                new TestStringSortedMapGenerator() {
                  @Override
                  protected NavigableMap<String, String> create(Entry<String, String>[] entries) {
                    NavigableMap<String, String> map = populate(new TreeMap<String, String>(), entries);
                    return Collections.checkedNavigableMap(map, String.class, String.class);
                  }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeRangeMap.java

     * @author Louis Wasserman
     * @since 14.0
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtIncompatible // NavigableMap
    @ElementTypesAreNonnullByDefault
    public final class TreeRangeMap<K extends Comparable, V> implements RangeMap<K, V> {
    
      private final NavigableMap<Cut<K>, RangeMapEntry<K, V>> entriesByLowerBound;
    
      public static <K extends Comparable, V> TreeRangeMap<K, V> create() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/TreeRangeMap.java

     * @author Louis Wasserman
     * @since 14.0
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtIncompatible // NavigableMap
    @ElementTypesAreNonnullByDefault
    public final class TreeRangeMap<K extends Comparable, V> implements RangeMap<K, V> {
    
      private final NavigableMap<Cut<K>, RangeMapEntry<K, V>> entriesByLowerBound;
    
      public static <K extends Comparable, V> TreeRangeMap<K, V> create() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.NavigableMap;
    import java.util.NavigableSet;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.SortedSet;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import java.util.Currency;
    import java.util.Deque;
    import java.util.Iterator;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.Locale;
    import java.util.Map;
    import java.util.NavigableMap;
    import java.util.NavigableSet;
    import java.util.Queue;
    import java.util.Random;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.SortedSet;
    import java.util.UUID;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import java.util.LinkedHashMap;
    import java.util.LinkedHashSet;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NavigableMap;
    import java.util.NavigableSet;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.SortedSet;
    import java.util.TreeMap;
    import java.util.TreeSet;
    import java.util.concurrent.ConcurrentMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import java.util.LinkedHashMap;
    import java.util.LinkedHashSet;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NavigableMap;
    import java.util.NavigableSet;
    import java.util.Optional;
    import java.util.OptionalDouble;
    import java.util.OptionalInt;
    import java.util.OptionalLong;
    import java.util.Set;
    import java.util.SortedMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import java.util.Currency;
    import java.util.Deque;
    import java.util.Iterator;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.Locale;
    import java.util.Map;
    import java.util.NavigableMap;
    import java.util.NavigableSet;
    import java.util.Optional;
    import java.util.OptionalDouble;
    import java.util.OptionalInt;
    import java.util.OptionalLong;
    import java.util.Queue;
    import java.util.Random;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top