Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 31 of 31 for AbstractIterator (0.06 sec)

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

      public static <T extends @Nullable Object> UnmodifiableIterator<T> filter(
          Iterator<T> unfiltered, Predicate<? super T> retainIfTrue) {
        checkNotNull(unfiltered);
        checkNotNull(retainIfTrue);
        return new AbstractIterator<T>() {
          @Override
          @CheckForNull
          protected T computeNext() {
            while (unfiltered.hasNext()) {
              T element = unfiltered.next();
              if (retainIfTrue.apply(element)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top