Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for NavigableMap (0.1 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

        return SortedMapTestSuiteBuilder.using(
                new TestStringSortedMapGenerator() {
                  @Override
                  protected NavigableMap<String, String> create(Entry<String, String>[] entries) {
                    NavigableMap<String, String> map = populate(new TreeMap<String, String>(), entries);
                    return Collections.checkedNavigableMap(map, String.class, String.class);
                  }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TreeRangeMap.java

     * @author Louis Wasserman
     * @since 14.0
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtIncompatible // NavigableMap
    @ElementTypesAreNonnullByDefault
    public final class TreeRangeMap<K extends Comparable, V> implements RangeMap<K, V> {
    
      private final NavigableMap<Cut<K>, RangeMapEntry<K, V>> entriesByLowerBound;
    
      public static <K extends Comparable, V> TreeRangeMap<K, V> create() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Synchronized.java

      }
    
      @GwtIncompatible // NavigableMap
      static <K extends @Nullable Object, V extends @Nullable Object> NavigableMap<K, V> navigableMap(
          NavigableMap<K, V> navigableMap) {
        return navigableMap(navigableMap, null);
      }
    
      @GwtIncompatible // NavigableMap
      static <K extends @Nullable Object, V extends @Nullable Object> NavigableMap<K, V> navigableMap(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Synchronized.java

      }
    
      @GwtIncompatible // NavigableMap
      static <K extends @Nullable Object, V extends @Nullable Object> NavigableMap<K, V> navigableMap(
          NavigableMap<K, V> navigableMap) {
        return navigableMap(navigableMap, null);
      }
    
      @GwtIncompatible // NavigableMap
      static <K extends @Nullable Object, V extends @Nullable Object> NavigableMap<K, V> navigableMap(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/TreeRangeMap.java

     * @author Louis Wasserman
     * @since 14.0
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtIncompatible // NavigableMap
    @ElementTypesAreNonnullByDefault
    public final class TreeRangeMap<K extends Comparable, V> implements RangeMap<K, V> {
    
      private final NavigableMap<Cut<K>, RangeMapEntry<K, V>> entriesByLowerBound;
    
      public static <K extends Comparable, V> TreeRangeMap<K, V> create() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
Back to top