Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for computeNext (0.08 sec)

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

              final Iterator<? extends E> itr1 = set1.iterator();
              final Iterator<? extends E> itr2 = set2.iterator();
    
              @Override
              @CheckForNull
              protected E computeNext() {
                if (itr1.hasNext()) {
                  return itr1.next();
                }
                while (itr2.hasNext()) {
                  E e = itr2.next();
                  if (!set1.contains(e)) {
    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

        checkNotNull(unfiltered);
        checkNotNull(retainIfTrue);
        return new AbstractIterator<T>() {
          @Override
          @CheckForNull
          protected T computeNext() {
            while (unfiltered.hasNext()) {
              T element = unfiltered.next();
              if (retainIfTrue.apply(element)) {
                return element;
              }
            }
            return endOfData();
    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