- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 402 for addAll (0.25 sec)
-
android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 19K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/MathTesting.java
static final Iterable<Long> ALL_LONG_CANDIDATES; static { ImmutableSet.Builder<Long> longValues = ImmutableSet.builder(); // First add all the integer candidate values. longValues.addAll(Iterables.transform(POSITIVE_INTEGER_CANDIDATES, TO_LONG)); // Add boundary values manually to avoid over/under flow (this covers 2^N for 31 and 63). longValues.add(Integer.MAX_VALUE + 1L, Long.MAX_VALUE - 1L, Long.MAX_VALUE);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 11.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
siblingCollection.add(sampleElement); Collection<E> copy = new ArrayList<>(); // Avoid copy.addAll(collection), which runs afoul of an Android bug in older versions: // http://b.android.com/72073 http://r.android.com/98929 Iterators.addAll(copy, collection.iterator()); try { collection.add(sampleElement); fail("add succeeded on unmodifiable collection");
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 15K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingList.java
* methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change the * behavior of {@link #addAll}, which can lead to unexpected behavior. In this case, you should * override {@code addAll} as well, either providing your own implementation, or delegating to the * provided {@code standardAddAll} method. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri May 12 15:26:39 GMT 2023 - 7.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/DefaultMaven.java
private <T> Collection<T> getExtensionComponents(Collection<MavenProject> projects, Class<T> role) { Collection<T> foundComponents = new LinkedHashSet<>(); foundComponents.addAll(lookup.lookupList(role)); foundComponents.addAll(getProjectScopedExtensionComponents(projects, role)); return foundComponents; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 27.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingCollection.java
} /** * A sensible definition of {@link #addAll} in terms of {@link #add}. If you override {@link * #add}, you may wish to override {@link #addAll} to forward to this implementation. * * @since 7.0 */ protected boolean standardAddAll(Collection<? extends E> collection) { return Iterators.addAll(this, collection.iterator()); } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 29 19:42:21 GMT 2021 - 8.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryFile.java
return parent.containsAll(c); } @Override public boolean addAll(final Collection<? extends E> c) { return parent.addAll(c); } @Override public boolean addAll(final int index, final Collection<? extends E> c) { return parent.addAll(index, c); } @Override public boolean removeAll(final Collection<?> c) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
@Override protected Multiset<String> create(String[] elements) { Multiset<String> ms = new NoRemoveMultiset<>(); Collections.addAll(ms, elements); return ms; } }) .named("NoRemoveMultiset") .withFeatures( CollectionSize.ANY,
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
@Override protected Multiset<String> create(String[] elements) { Multiset<String> ms = new NoRemoveMultiset<>(); Collections.addAll(ms, elements); return ms; } }) .named("NoRemoveMultiset") .withFeatures( CollectionSize.ANY,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
assertEquals(HashMultiset.create(asList("a", "b", "b", "b", "c")), multiset); } public void testBuilderAddAllIterator() { Iterator<String> iterator = asList("a", "b", "a", "c").iterator(); ImmutableMultiset<String> multiset = new ImmutableMultiset.Builder<String>().addAll(iterator).build(); assertEquals(HashMultiset.create(asList("a", "b", "a", "c")), multiset); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 21K bytes - Viewed (0)