Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 62 of 62 for retainAll (0.07 sec)

  1. android/guava/src/com/google/common/collect/ImmutableCollection.java

       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final boolean retainAll(Collection<?> elementsToKeep) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the collection unmodified.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterators.java

       * @param elementsToRetain the elements to retain
       * @return {@code true} if any element was removed from {@code iterator}
       */
      @CanIgnoreReturnValue
      public static boolean retainAll(Iterator<?> removeFrom, Collection<?> elementsToRetain) {
        checkNotNull(elementsToRetain);
        boolean result = false;
        while (removeFrom.hasNext()) {
          if (!elementsToRetain.contains(removeFrom.next())) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
Back to top