Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for headMap (0.03 sec)

  1. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

      /**
       * A sensible definition of {@link #lowerEntry} in terms of the {@code lastEntry()} of {@link
       * #headMap(Object, boolean)}. If you override {@code headMap}, you may wish to override {@code
       * lowerEntry} to forward to this implementation.
       */
      protected @Nullable Entry<K, V> standardLowerEntry(@ParametricNullness K key) {
        return headMap(key, false).lastEntry();
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingNavigableMap.java

      /**
       * A sensible definition of {@link #lowerEntry} in terms of the {@code lastEntry()} of {@link
       * #headMap(Object, boolean)}. If you override {@code headMap}, you may wish to override {@code
       * lowerEntry} to forward to this implementation.
       */
      protected @Nullable Entry<K, V> standardLowerEntry(@ParametricNullness K key) {
        return headMap(key, false).lastEntry();
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        return delegate.get(checkValid(key));
      }
    
      @Override
      public SortedMap<K, V> headMap(K toKey) {
        return headMap(toKey, false);
      }
    
      @Override
      public NavigableMap<K, V> headMap(K toKey, boolean inclusive) {
        return new SafeTreeMap<>(delegate.headMap(checkValid(toKey), inclusive));
      }
    
      @Override
      public @Nullable Entry<K, V> higherEntry(K key) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeRangeSet.java

          extends AbstractNavigableMap<Cut<C>, Range<C>> {
        private final NavigableMap<Cut<C>, Range<C>> rangesByLowerBound;
    
        /**
         * upperBoundWindow represents the headMap/subMap/tailMap view of the entire "ranges by upper
         * bound" map; it's a constraint on the *keys*, and does not affect the values.
         */
        private final Range<Cut<C>> upperBoundWindow;
    
    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. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        return delegate.get(checkValid(key));
      }
    
      @Override
      public SortedMap<K, V> headMap(K toKey) {
        return headMap(toKey, false);
      }
    
      @Override
      public NavigableMap<K, V> headMap(K toKey, boolean inclusive) {
        return new SafeTreeMap<>(delegate.headMap(checkValid(toKey), inclusive));
      }
    
      @Override
      public @Nullable Entry<K, V> higherEntry(K key) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

            return tmp;
          }
        }
        return null;
      }
    
      @Override
      public ImmutableSortedMap<K, V> headMap(K toKey) {
        checkNotNull(toKey);
        return newView(sortedDelegate.headMap(toKey));
      }
    
      ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive) {
        checkNotNull(toKey);
        if (inclusive) {
          K tmp = higher(toKey);
          if (tmp == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        }
    
        @Override
        public NavigableMap<K, Collection<V>> headMap(@ParametricNullness K toKey) {
          return headMap(toKey, false);
        }
    
        @Override
        public NavigableMap<K, Collection<V>> headMap(@ParametricNullness K toKey, boolean inclusive) {
          return new NavigableAsMap(sortedMap().headMap(toKey, inclusive));
        }
    
        @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)
  8. android/guava-tests/test/com/google/common/collect/ImmutableSortedMapHeadMapInclusiveMapInterfaceTest.java

        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).headMap("c", true);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "d";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
        return 4;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testHeadMapExclusive() {
        assertFalse(navigableMap.headMap(a.getKey(), false).containsKey(a.getKey()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testHeadMapInclusive() {
        assertTrue(navigableMap.headMap(a.getKey(), true).containsKey(a.getKey()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testTailMapExclusive() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testHeadMapExclusive() {
        assertFalse(navigableMap.headMap(a.getKey(), false).containsKey(a.getKey()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testHeadMapInclusive() {
        assertTrue(navigableMap.headMap(a.getKey(), true).containsKey(a.getKey()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testTailMapExclusive() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top