Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AbstractIterator (0.38 sec)

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

          @Override
          public boolean isEmpty() {
            return set1.isEmpty() && set2.isEmpty();
          }
    
          @Override
          public UnmodifiableIterator<E> iterator() {
            return new AbstractIterator<E>() {
              final Iterator<? extends E> itr1 = set1.iterator();
              final Iterator<? extends E> itr2 = set2.iterator();
    
              @Override
              @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. 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