- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for ImmutableRangeMap (0.1 sec)
-
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) -
guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java
for (Range<Integer> subRange : RANGES) { ImmutableRangeMap<Integer, Integer> rangeMap = ImmutableRangeMap.<Integer, Integer>builder().put(range1, 1).put(range2, 2).build(); ImmutableRangeMap.Builder<Integer, Integer> expectedBuilder = ImmutableRangeMap.builder(); for (Entry<Range<Integer>, Integer> entry : rangeMap.asMapOfRanges().entrySet()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java
Range<Integer> rangeTwo = Range.openClosed(6, 7); ImmutableRangeMap.Builder<Integer, Integer> zis = ImmutableRangeMap.<Integer, Integer>builder().put(rangeOne, 1); ImmutableRangeMap.Builder<Integer, Integer> zat = ImmutableRangeMap.<Integer, Integer>builder().put(rangeTwo, 6); ImmutableRangeMap<Integer, Integer> rangeMap = zis.combine(zat).build();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.6K bytes - Viewed (0) -
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) -
android/guava/src/com/google/common/collect/RangeMap.java
* * @author Louis Wasserman * @since 14.0 */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 @DoNotMock("Use ImmutableRangeMap or TreeRangeMap") @GwtIncompatible @ElementTypesAreNonnullByDefault public interface RangeMap<K extends Comparable, V> { /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 6.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/RangeMap.java
* * @author Louis Wasserman * @since 14.0 */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 @DoNotMock("Use ImmutableRangeMap or TreeRangeMap") @GwtIncompatible @ElementTypesAreNonnullByDefault public interface RangeMap<K extends Comparable, V> { /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 7.7K bytes - Viewed (0) -
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)