Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for computeNext (0.06 sec)

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

                      .values()
                      .iterator();
              return new AbstractIterator<Entry<Range<K>, V>>() {
    
                @Override
                @CheckForNull
                protected Entry<Range<K>, V> computeNext() {
                  if (backingItr.hasNext()) {
                    RangeMapEntry<K, V> entry = backingItr.next();
                    if (entry.getUpperBound().compareTo(subRange.lowerBound) <= 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableRangeSet.java

          return new AbstractIterator<C>() {
            final Iterator<Range<C>> rangeItr = ranges.iterator();
            Iterator<C> elemItr = emptyIterator();
    
            @Override
            @CheckForNull
            protected C computeNext() {
              while (!elemItr.hasNext()) {
                if (rangeItr.hasNext()) {
                  elemItr = ContiguousSet.create(rangeItr.next(), domain).iterator();
                } else {
                  return endOfData();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeTraverser.java

        PostOrderIterator(T root) {
          this.stack = new ArrayDeque<>();
          stack.addLast(expand(root));
        }
    
        @Override
        @CheckForNull
        protected T computeNext() {
          while (!stack.isEmpty()) {
            PostOrderNode<T> top = stack.getLast();
            if (top.childIterator.hasNext()) {
              T child = top.childIterator.next();
              stack.addLast(expand(child));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/FilteredEntryMultimap.java

                    unfiltered.asMap().entrySet().iterator();
    
                @Override
                @CheckForNull
                protected Entry<K, Collection<V>> computeNext() {
                  while (backingIterator.hasNext()) {
                    Entry<K, Collection<V>> entry = backingIterator.next();
                    K key = entry.getKey();
                    Collection<V> collection =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/TreeRangeMap.java

                      .values()
                      .iterator();
              return new AbstractIterator<Entry<Range<K>, V>>() {
    
                @Override
                @CheckForNull
                protected Entry<Range<K>, V> computeNext() {
                  if (backingItr.hasNext()) {
                    RangeMapEntry<K, V> entry = backingItr.next();
                    if (entry.getUpperBound().compareTo(subRange.lowerBound) <= 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

                    unfiltered.asMap().entrySet().iterator();
    
                @Override
                @CheckForNull
                protected Entry<K, Collection<V>> computeNext() {
                  while (backingIterator.hasNext()) {
                    Entry<K, Collection<V>> entry = backingIterator.next();
                    K key = entry.getKey();
                    Collection<V> collection =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/TreeBasedTable.java

                comparator);
    
        return new AbstractIterator<C>() {
          @CheckForNull C lastValue;
    
          @Override
          @CheckForNull
          protected C computeNext() {
            while (merged.hasNext()) {
              C next = merged.next();
              boolean duplicate = lastValue != null && comparator.compare(next, lastValue) == 0;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Optional.java

              private final Iterator<? extends Optional<? extends T>> iterator =
                  checkNotNull(optionals.iterator());
    
              @Override
              @CheckForNull
              protected T computeNext() {
                while (iterator.hasNext()) {
                  Optional<? extends T> optional = iterator.next();
                  if (optional.isPresent()) {
                    return optional.get();
                  }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

              private final Iterator<Map.Entry<E, AtomicInteger>> mapEntries =
                  countMap.entrySet().iterator();
    
              @Override
              @CheckForNull
              protected Entry<E> computeNext() {
                while (true) {
                  if (!mapEntries.hasNext()) {
                    return endOfData();
                  }
                  Map.Entry<E, AtomicInteger> mapEntry = mapEntries.next();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/CharSource.java

          return new AbstractIterator<String>() {
            Iterator<String> lines = LINE_SPLITTER.split(seq).iterator();
    
            @Override
            @CheckForNull
            protected String computeNext() {
              if (lines.hasNext()) {
                String next = lines.next();
                // skip last line if it's empty
                if (lines.hasNext() || !next.isEmpty()) {
                  return next;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top