Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for addAllImpl (0.07 sec)

  1. 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 {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  2. 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);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 6K bytes
    - Viewed (0)
  3. 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);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 6K bytes
    - Viewed (0)
  4. 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 {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  5. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  8. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Lists.java

        } else {
          return 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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top