- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for addAllImpl (0.21 sec)
-
android/guava/src/com/google/common/collect/Multisets.java
return false; } /** An implementation of {@link Multiset#addAll}. */ static <E extends @Nullable Object> boolean addAllImpl( Multiset<E> self, Collection<? extends E> elements) { checkNotNull(self); checkNotNull(elements); if (elements instanceof Multiset) { return addAllImpl(self, cast(elements)); } else if (elements.isEmpty()) { return false; } else {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 41.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMultiset.java
* Multiset}. */ @CanIgnoreReturnValue @Override public final boolean addAll(Collection<? extends E> elementsToAdd) { return Multisets.addAllImpl(this, elementsToAdd); } @CanIgnoreReturnValue @Override public final boolean removeAll(Collection<?> elementsToRemove) { return Multisets.removeAllImpl(this, elementsToRemove); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 01 22:07:10 GMT 2021 - 6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingList.java
* wish to override {@link #addAll(int, Collection)} to forward to this implementation. * * @since 7.0 */ protected boolean standardAddAll(int index, Iterable<? extends E> elements) { return Lists.addAllImpl(this, index, elements); } /** * A sensible default implementation of {@link #indexOf}, in terms of {@link #listIterator()}. If
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri May 12 15:26:39 GMT 2023 - 7.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMultiset.java
* Multiset}. */ @CanIgnoreReturnValue @Override public final boolean addAll(Collection<? extends E> elementsToAdd) { return Multisets.addAllImpl(this, elementsToAdd); } @CanIgnoreReturnValue @Override public final boolean removeAll(Collection<?> elementsToRemove) { return Multisets.removeAllImpl(this, elementsToRemove); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 01 22:07:10 GMT 2021 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMultiset.java
* {@link #addAll(Collection)} to forward to this implementation. * * @since 7.0 */ @Override protected boolean standardAddAll(Collection<? extends E> elementsToAdd) { return Multisets.addAllImpl(this, elementsToAdd); } /** * A sensible definition of {@link #remove(Object)} in terms of {@link #remove(Object, int)}. If
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri May 12 15:26:39 GMT 2023 - 10.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingList.java
* wish to override {@link #addAll(int, Collection)} to forward to this implementation. * * @since 7.0 */ protected boolean standardAddAll(int index, Iterable<? extends E> elements) { return Lists.addAllImpl(this, index, elements); } /** * A sensible default implementation of {@link #indexOf}, in terms of {@link #listIterator()}. If
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) -
android/guava-tests/test/com/google/common/collect/ListsImplTest.java
Iterable<String> iterableToAdd = toAdd.get(i); boolean expectedChanged = iterableToAdd.iterator().hasNext(); assertWithMessage(format, iterableToAdd, index) .that(Lists.addAllImpl(toTest, index, iterableToAdd)) .isEqualTo(expectedChanged); assertWithMessage(format, iterableToAdd, index) .that(toTest) .containsExactlyElementsIn(expected.get(i)); } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 16:35:21 GMT 2024 - 10.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsImplTest.java
Iterable<String> iterableToAdd = toAdd.get(i); boolean expectedChanged = iterableToAdd.iterator().hasNext(); assertWithMessage(format, iterableToAdd, index) .that(Lists.addAllImpl(toTest, index, iterableToAdd)) .isEqualTo(expectedChanged); assertWithMessage(format, iterableToAdd, index) .that(toTest) .containsExactlyElementsIn(expected.get(i)); } }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 26 16:35:21 GMT 2024 - 10.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMultiset.java
* {@link #addAll(Collection)} to forward to this implementation. * * @since 7.0 */ @Override protected boolean standardAddAll(Collection<? extends E> elementsToAdd) { return Multisets.addAllImpl(this, elementsToAdd); } /** * A sensible definition of {@link #remove(Object)} in terms of {@link #remove(Object, int)}. If
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri May 12 15:26:39 GMT 2023 - 10.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Lists.java
return Iterators.elementsEqual(thisList.iterator(), otherList.iterator()); } } /** An implementation of {@link List#addAll(int, Collection)}. */ static <E extends @Nullable Object> boolean addAllImpl( List<E> list, int index, Iterable<? extends E> elements) { boolean changed = false; ListIterator<E> listIterator = list.listIterator(index); for (E e : elements) { listIterator.add(e);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 29 16:48:36 GMT 2024 - 41.5K bytes - Viewed (0)