- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for merge (0.32 sec)
-
guava-tests/test/com/google/common/collect/TreeRangeMapTest.java
mergeModel(model, range3, 3, Integer::sum); RangeMap<Integer, Integer> test = TreeRangeMap.create(); test.merge(range1, 1, Integer::sum); test.merge(range2, 2, Integer::sum); test.merge(range3, 3, Integer::sum); verify(model, test); } } } } public void testSubRangeMapExhaustive() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 33.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeRangeMap.java
// lower bound in the merge range is entirely contained by the merge range. Set<Entry<Cut<K>, RangeMapEntry<K, V>>> entriesInMergeRange = entriesByLowerBound.subMap(range.lowerBound, range.upperBound).entrySet(); // Create entries mapping any unmapped ranges in the merge range to the specified value.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 04 14:31:50 UTC 2024 - 25.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableRangeMap.java
* @deprecated Unsupported operation. * @since 28.1 */ @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final void merge( Range<K> range, @CheckForNull V value, BiFunction<? super V, ? super @Nullable V, ? extends @Nullable V> remappingFunction) { throw new UnsupportedOperationException(); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 04 14:31:50 UTC 2024 - 14.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
checkArgument(columnIndex != null, "Column %s not in %s", columnKey, columnList); return set(rowIndex, columnIndex, value); } /* * TODO(jlevy): Consider creating a merge() method, similar to putAll() but * copying non-null values only. */ /** * {@inheritDoc} * * <p>If {@code table} is an {@code ArrayTable}, its null values will be stored in this table,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 26.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CollectCollectors.java
this.mergeFunction = mergeFunction; } void put(K key, V value) { if (map == null) { map = new EnumMap<>(singletonMap(key, value)); } else { map.merge(key, value, mergeFunction); } } EnumMapAccumulator<K, V> combine(EnumMapAccumulator<K, V> other) { if (this.map == null) { return other; } else if (other.map == null) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:21:40 UTC 2024 - 17.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectCollectors.java
this.mergeFunction = mergeFunction; } void put(K key, V value) { if (map == null) { map = new EnumMap<>(singletonMap(key, value)); } else { map.merge(key, value, mergeFunction); } } EnumMapAccumulator<K, V> combine(EnumMapAccumulator<K, V> other) { if (this.map == null) { return other; } else if (other.map == null) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:21:40 UTC 2024 - 16.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayTable.java
checkArgument(columnIndex != null, "Column %s not in %s", columnKey, columnList); return set(rowIndex, columnIndex, value); } /* * TODO(jlevy): Consider creating a merge() method, similar to putAll() but * copying non-null values only. */ /** * {@inheritDoc} * * <p>If {@code table} is an {@code ArrayTable}, its null values will be stored in this table,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 26.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
* and will be merged, but overlapping ranges will cause an exception when {@link #build()} is * called. */ @CanIgnoreReturnValue public Builder<C> addAll(RangeSet<C> ranges) { return addAll(ranges.asRanges()); } /** * Add all of the specified ranges to this builder. Adjacent ranges are permitted and will be
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 27.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterables.java
if (iterable instanceof Collection) { return ((Collection<?>) iterable).isEmpty(); } return !iterable.iterator().hasNext(); } /** * Returns an iterable over the merged contents of all given {@code iterables}. Equivalent entries * will not be de-duplicated. * * <p>Callers must ensure that the source {@code iterables} are in non-descending order as this
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 42.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* @deprecated Unsupported operation. */ @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") @CheckForNull public final V merge( K key, V value, BiFunction<? super V, ? super V, ? extends @Nullable V> function) { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the map unmodified.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 30 14:39:16 UTC 2024 - 44.6K bytes - Viewed (0)