Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for NavigableMap (0.14 sec)

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

        assertNull(navigableMap.lowerEntry(k0()));
        assertNull(navigableMap.lowerKey(k0()));
        assertNull(navigableMap.floorEntry(k0()));
        assertNull(navigableMap.floorKey(k0()));
        assertNull(navigableMap.ceilingEntry(k0()));
        assertNull(navigableMap.ceilingKey(k0()));
        assertNull(navigableMap.higherEntry(k0()));
        assertNull(navigableMap.higherKey(k0()));
      }
    
      @CollectionSize.Require(ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        assertNull(navigableMap.lowerEntry(k0()));
        assertNull(navigableMap.lowerKey(k0()));
        assertNull(navigableMap.floorEntry(k0()));
        assertNull(navigableMap.floorKey(k0()));
        assertNull(navigableMap.ceilingEntry(k0()));
        assertNull(navigableMap.ceilingKey(k0()));
        assertNull(navigableMap.higherEntry(k0()));
        assertNull(navigableMap.higherKey(k0()));
      }
    
      @CollectionSize.Require(ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

        new ForwardingWrapperTester()
            .testForwarding(
                NavigableMap.class,
                new Function<NavigableMap, NavigableMap>() {
                  @Override
                  public NavigableMap apply(NavigableMap delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        NavigableMap<Integer, String> map1 = ImmutableSortedMap.of(1, "one");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeRangeSet.java

         * restriction.
         */
        private final Range<C> restriction;
    
        private final NavigableMap<Cut<C>, Range<C>> rangesByLowerBound;
        private final NavigableMap<Cut<C>, Range<C>> rangesByUpperBound;
    
        private SubRangeSetRangesByLowerBound(
            Range<Cut<C>> lowerBoundWindow,
            Range<C> restriction,
            NavigableMap<Cut<C>, Range<C>> rangesByLowerBound) {
          this.lowerBoundWindow = checkNotNull(lowerBoundWindow);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  5. 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)
  6. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

    @GwtIncompatible
    public final class SafeTreeMap<K, V> implements Serializable, NavigableMap<K, V> {
      @SuppressWarnings("unchecked")
      private static final Comparator<Object> NATURAL_ORDER =
          new Comparator<Object>() {
            @Override
            public int compare(Object o1, Object o2) {
              return ((Comparable<Object>) o1).compareTo(o2);
            }
          };
    
      private final NavigableMap<K, V> delegate;
    
      public SafeTreeMap() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

    @GwtIncompatible
    public final class SafeTreeMap<K, V> implements Serializable, NavigableMap<K, V> {
      @SuppressWarnings("unchecked")
      private static final Comparator<Object> NATURAL_ORDER =
          new Comparator<Object>() {
            @Override
            public int compare(Object o1, Object o2) {
              return ((Comparable<Object>) o1).compareTo(o2);
            }
          };
    
      private final NavigableMap<K, V> delegate;
    
      public SafeTreeMap() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java

      protected SortedMap<String, Integer> makePopulatedMap() {
        NavigableMap<String, Integer> map = new SafeTreeMap<>();
        map.put("one", 1);
        map.put("two", 2);
        map.put("three", 3);
        return SerializableTester.reserialize(map);
      }
    
      @Override
      protected SortedMap<String, Integer> makeEmptyMap() throws UnsupportedOperationException {
        NavigableMap<String, Integer> map = new SafeTreeMap<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Mar 18 18:06:40 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        }
      }
    
      private final class NavigableAsMap extends SortedAsMap implements NavigableMap<K, Collection<V>> {
    
        NavigableAsMap(NavigableMap<K, Collection<V>> submap) {
          super(submap);
        }
    
        @Override
        NavigableMap<K, Collection<V>> sortedMap() {
          return (NavigableMap<K, Collection<V>>) super.sortedMap();
        }
    
        @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)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

        assertThrows(NoSuchElementException.class, () -> assertNull(navigableMap.lastKey()));
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapFirst() {
        assertEquals(a.getKey(), navigableMap.firstKey());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapLast() {
        assertEquals(a.getKey(), navigableMap.lastKey());
      }
    
      @CollectionSize.Require(SEVERAL)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top