Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ImmutableRangeMap (0.09 sec)

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

    @ElementTypesAreNonnullByDefault
    public class ImmutableRangeMap<K extends Comparable<?>, V> implements RangeMap<K, V>, Serializable {
    
      private static final ImmutableRangeMap<Comparable<?>, Object> EMPTY =
          new ImmutableRangeMap<>(ImmutableList.<Range<Comparable<?>>>of(), ImmutableList.of());
    
      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CollectCollectors.java

          Collector<T, ?, ImmutableRangeMap<K, V>> toImmutableRangeMap(
              Function<? super T, Range<K>> keyFunction,
              Function<? super T, ? extends V> valueFunction) {
        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        return Collector.of(
            ImmutableRangeMap::<K, V>builder,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

        assertEquals(rangeMap.asMapOfRanges(), copy.asMapOfRanges());
      }
    
      public void testCopyOfImmutableRangeMap() {
        ImmutableRangeMap<Integer, Integer> rangeMap =
            ImmutableRangeMap.<Integer, Integer>builder()
                .put(Range.open(3, 7), 1)
                .put(Range.closed(9, 10), 2)
                .put(Range.closed(12, 16), 3)
                .build();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Oct 06 13:04:03 UTC 2024
    - 29.9K bytes
    - Viewed (0)
Back to top