Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for tailMap (0.03 sec)

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

      }
    
      /**
       * A sensible definition of {@link #tailMap(Object)} in terms of {@link #tailMap(Object,
       * boolean)}. If you override {@code tailMap(K, boolean)}, you may wish to override {@code
       * tailMap} to forward to this implementation.
       */
      protected SortedMap<K, V> standardTailMap(@ParametricNullness K fromKey) {
        return tailMap(fromKey, true);
      }
    Registered: Fri Dec 26 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 #tailMap(Object)} in terms of {@link #tailMap(Object,
       * boolean)}. If you override {@code tailMap(K, boolean)}, you may wish to override {@code
       * tailMap} to forward to this implementation.
       */
      protected SortedMap<K, V> standardTailMap(@ParametricNullness K fromKey) {
        return tailMap(fromKey, true);
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

        return headMap(key, true).lastEntry();
      }
    
      @Override
      public @Nullable Entry<K, V> ceilingEntry(@ParametricNullness K key) {
        return tailMap(key, true).firstEntry();
      }
    
      @Override
      public @Nullable Entry<K, V> higherEntry(@ParametricNullness K key) {
        return tailMap(key, false).firstEntry();
      }
    
      @Override
      public @Nullable K lowerKey(@ParametricNullness K key) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        Iterator<Entry<K, V>> iterator = map.entrySet().iterator();
        Entry<K, V> firstEntry = iterator.next();
        Entry<K, V> secondEntry = iterator.next();
        K key = secondEntry.getKey();
        SortedMap<K, V> subMap = map.tailMap(key);
        V value = getValueNotInPopulatedMap();
        subMap.put(key, value);
        assertEquals(secondEntry.getValue(), value);
        assertEquals(map.get(key), value);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        Iterator<Entry<K, V>> iterator = map.entrySet().iterator();
        Entry<K, V> firstEntry = iterator.next();
        Entry<K, V> secondEntry = iterator.next();
        K key = secondEntry.getKey();
        SortedMap<K, V> subMap = map.tailMap(key);
        V value = getValueNotInPopulatedMap();
        subMap.put(key, value);
        assertEquals(secondEntry.getValue(), value);
        assertEquals(map.get(key), value);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

      public SortedMap<K, V> subMap(@ParametricNullness K fromKey, @ParametricNullness K toKey) {
        return delegate().subMap(fromKey, toKey);
      }
    
      @Override
      public SortedMap<K, V> tailMap(@ParametricNullness K fromKey) {
        return delegate().tailMap(fromKey);
      }
    
      /**
       * A sensible implementation of {@link SortedMap#keySet} in terms of the methods of {@code
       * ForwardingSortedMap}. In many cases, you may wish to override {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        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) {
        return new SafeTreeMap<>(delegate.tailMap(checkValid(fromKey), inclusive));
      }
    
      @Override
      public Collection<V> values() {
        return delegate.values();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractNavigableMap.java

        return headMap(key, true).lastEntry();
      }
    
      @Override
      public @Nullable Entry<K, V> ceilingEntry(@ParametricNullness K key) {
        return tailMap(key, true).firstEntry();
      }
    
      @Override
      public @Nullable Entry<K, V> higherEntry(@ParametricNullness K key) {
        return tailMap(key, false).firstEntry();
      }
    
      @Override
      public @Nullable K lowerKey(@ParametricNullness K key) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapsTest.java

            .inOrder();
        assertEquals(map.headMap("three", true), map.descendingMap().tailMap("three", true));
        assertThat(map.tailMap("three", false).entrySet()).contains(mapEntry("two", 3));
        assertThat(map.tailMap("three", true).lowerEntry("three")).isNull();
        assertThat(map.headMap("two", false).values()).containsExactly(3, 5).inOrder();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        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) {
        return new SafeTreeMap<>(delegate.tailMap(checkValid(fromKey), inclusive));
      }
    
      @Override
      public Collection<V> values() {
        return delegate.values();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top