Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for headMap (0.17 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.
       */
      @CheckForNull
      protected Entry<K, V> standardLowerEntry(@ParametricNullness K key) {
        return headMap(key, false).lastEntry();
      }
    
      @Override
      @CheckForNull
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 14.3K 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.
       */
      @CheckForNull
      protected Entry<K, V> standardLowerEntry(@ParametricNullness K key) {
        return headMap(key, false).lastEntry();
      }
    
      @Override
      @CheckForNull
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

        }
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> lowerEntry(@ParametricNullness K key) {
        return headMap(key, false).lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> floorEntry(@ParametricNullness K key) {
        return headMap(key, true).lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> ceilingEntry(@ParametricNullness K key) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/TreeBasedTableRowMapHeadMapTest.java

        TreeBasedTable<String, Integer, Character> table = makeTable();
        populateTable(table);
        return table.rowMap().headMap("x");
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makeEmptyMap() {
        return makeTable().rowMap().headMap("x");
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "z";
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        SortedMap<String, Integer> headMap = map.headMap("a");
        assertTrue(headMap instanceof SynchronizedSortedMap);
        assertSame(mutex, ((SynchronizedSortedMap<String, Integer>) headMap).mutex);
      }
    
      public void testHeadMap_K_B() {
        NavigableMap<String, Integer> map = create();
        NavigableMap<String, Integer> headMap = map.headMap("a", true);
        assertTrue(headMap instanceof SynchronizedNavigableMap);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

      public void testLast() {
        assertEquals(c.getKey(), navigableMap.lastKey());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testHeadMapExclusive() {
        assertFalse(navigableMap.headMap(a.getKey()).containsKey(a.getKey()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testTailMapInclusive() {
        assertTrue(navigableMap.tailMap(a.getKey()).containsKey(a.getKey()));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. android/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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 46.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingSortedMap.java

      }
    
      @Override
      @ParametricNullness
      public K firstKey() {
        return delegate().firstKey();
      }
    
      @Override
      public SortedMap<K, V> headMap(@ParametricNullness K toKey) {
        return delegate().headMap(toKey);
      }
    
      @Override
      @ParametricNullness
      public K lastKey() {
        return delegate().lastKey();
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractNavigableMap.java

        }
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> lowerEntry(@ParametricNullness K key) {
        return headMap(key, false).lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> floorEntry(@ParametricNullness K key) {
        return headMap(key, true).lastEntry();
      }
    
      @Override
      @CheckForNull
      public Entry<K, V> ceilingEntry(@ParametricNullness K key) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top