Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for removeFirstMatching (0.12 seconds)

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

        }
    
        @Override
        public @Nullable E pollFirst() {
          return Iterables.removeFirstMatching(unfiltered(), predicate);
        }
    
        @Override
        public @Nullable E pollLast() {
          return Iterables.removeFirstMatching(unfiltered().descendingSet(), predicate);
        }
    
        @Override
        public NavigableSet<E> descendingSet() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 81.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Iterables.java

          list.remove(n);
        }
      }
    
      /** Removes and returns the first matching element, or returns {@code null} if there is none. */
      static <T extends @Nullable Object> @Nullable T removeFirstMatching(
          Iterable<T> removeFrom, Predicate<? super T> predicate) {
        checkNotNull(predicate);
        Iterator<T> iterator = removeFrom.iterator();
        while (iterator.hasNext()) {
          T next = iterator.next();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Iterables.java

        return Iterators.removeIf(removeFrom.iterator(), predicate);
      }
    
      /** Removes and returns the first matching element, or returns {@code null} if there is none. */
      static <T extends @Nullable Object> @Nullable T removeFirstMatching(
          Iterable<T> removeFrom, Predicate<? super T> predicate) {
        checkNotNull(predicate);
        Iterator<T> iterator = removeFrom.iterator();
        while (iterator.hasNext()) {
          T next = iterator.next();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 43.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        public @Nullable Entry<K, V> pollFirstEntry() {
          return Iterables.removeFirstMatching(unfiltered.entrySet(), entryPredicate);
        }
    
        @Override
        public @Nullable Entry<K, V> pollLastEntry() {
          return Iterables.removeFirstMatching(unfiltered.descendingMap().entrySet(), entryPredicate);
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 157.6K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        public @Nullable Entry<K, V> pollFirstEntry() {
          return Iterables.removeFirstMatching(unfiltered.entrySet(), entryPredicate);
        }
    
        @Override
        public @Nullable Entry<K, V> pollLastEntry() {
          return Iterables.removeFirstMatching(unfiltered.descendingMap().entrySet(), entryPredicate);
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 163.5K bytes
    - Click Count (0)
Back to Top