- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 369 for addAll (0.06 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
.add(Range.closed(5, 8)) .add(Range.closedOpen(1, 3)) .build(); assertThrows( UnsupportedOperationException.class, () -> rangeSet.addAll(ImmutableRangeSet.<Integer>of())); } @SuppressWarnings("DoNotCall") public void testRemoveUnsupported() { RangeSet<Integer> rangeSet = ImmutableRangeSet.<Integer>builder()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 21.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
Set<Feature<?>> derivedFeatures = copyToSet(computeMultimapGetFeatures(multimapFeatures)); if (derivedFeatures.remove(CollectionSize.ANY)) { derivedFeatures.addAll(CollectionSize.ANY.getImpliedFeatures()); } derivedFeatures.remove(CollectionSize.ZERO); return derivedFeatures; } private static class AsMapGenerator<K, V, M extends Multimap<K, V>>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeMap.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 14.4K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
List<Restriction> copiedRestrictions = null; if (restrictions != null) { copiedRestrictions = new ArrayList<>(); if (!restrictions.isEmpty()) { copiedRestrictions.addAll(restrictions); } } return new VersionRange(recommendedVersion, copiedRestrictions); } /** * <p> * Create a version range from a string representation
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 19K bytes - Viewed (0) -
android/guava/src/com/google/common/math/PairedStats.java
* point values. Two instances are guaranteed to be considered equal if one is copied from the * other using {@code second = new PairedStatsAccumulator().addAll(first).snapshot()}, if both * were obtained by calling {@code snapshot()} on the same {@link PairedStatsAccumulator} without * adding any values in between the two calls, or if one is obtained from the other after
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 17:02:53 UTC 2023 - 12.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
for (int i = 0; i < VALUES.length; i++) { List<Character> list = Chars.asList(VALUES).subList(0, i); Collection<Character> misleadingSize = Helpers.misleadingSizeCollection(delta); misleadingSize.addAll(list); char[] arr = Chars.toArray(misleadingSize); assertThat(arr).hasLength(i); for (int j = 0; j < i; j++) { assertThat(arr[j]).isEqualTo(VALUES[j]); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 25.6K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
// adds recursive isSubtypeOf() call and feels complicated. // There is no contract one way or another as long as isSubtypeOf() works as expected. combined.addAll(asList(typeParam.getBounds())); if (combined.size() > 1) { // Object is implicit and only useful if it's the only bound. combined.remove(Object.class); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 24.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java
assertFalse(rangeSet.contains(6)); } public void testAddAll() { RangeSet<Integer> rangeSet = TreeRangeSet.create(); rangeSet.add(Range.closed(3, 10)); rangeSet.addAll(asList(Range.open(1, 3), Range.closed(5, 8), Range.closed(9, 11))); assertThat(rangeSet.asRanges()).containsExactly(Range.openClosed(1, 11)).inOrder(); } public void testRemoveAll() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 24.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 19K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java
public Ansi() { this(new StringBuilder(80)); } public Ansi(Ansi parent) { this(new StringBuilder(parent.builder)); attributeOptions.addAll(parent.attributeOptions); } public Ansi(int size) { this(new StringBuilder(size)); } public Ansi(StringBuilder builder) { this.builder = builder; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 23.1K bytes - Viewed (0)