Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for headMap (0.05 sec)

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

        @Override
        public R lastKey() {
          return sortedBackingMap().lastKey();
        }
    
        @Override
        public SortedMap<R, Map<C, V>> headMap(R toKey) {
          checkNotNull(toKey);
          return new StandardRowSortedTable<R, C, V>(sortedBackingMap().headMap(toKey), factory)
              .rowMap();
        }
    
        @Override
        public SortedMap<R, Map<C, V>> subMap(R fromKey, R toKey) {
          checkNotNull(fromKey);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 15 15:41:16 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/StandardRowSortedTable.java

        @Override
        public R lastKey() {
          return sortedBackingMap().lastKey();
        }
    
        @Override
        public SortedMap<R, Map<C, V>> headMap(R toKey) {
          checkNotNull(toKey);
          return new StandardRowSortedTable<R, C, V>(sortedBackingMap().headMap(toKey), factory)
              .rowMap();
        }
    
        @Override
        public SortedMap<R, Map<C, V>> subMap(R fromKey, R toKey) {
          checkNotNull(fromKey);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 15 15:41:16 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

          return fromMap().floorKey(key);
        }
    
        @Override
        public NavigableMap<K, V2> headMap(@ParametricNullness K toKey) {
          return headMap(toKey, false);
        }
    
        @Override
        public NavigableMap<K, V2> headMap(@ParametricNullness K toKey, boolean inclusive) {
          return transformEntries(fromMap().headMap(toKey, inclusive), transformer);
        }
    
        @Override
        @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Maps.java

          return fromMap().floorKey(key);
        }
    
        @Override
        public NavigableMap<K, V2> headMap(@ParametricNullness K toKey) {
          return headMap(toKey, false);
        }
    
        @Override
        public NavigableMap<K, V2> headMap(@ParametricNullness K toKey, boolean inclusive) {
          return transformEntries(fromMap().headMap(toKey, inclusive), transformer);
        }
    
        @Override
        @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

            return tmp;
          }
        }
        return null;
      }
    
      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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 17 01:34:55 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedMapHeadMapMapInterfaceTest.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("d");
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "d";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
        return 4;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 17 01:34:55 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  9. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 17 01:34:55 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  10. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top