Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for computeNext (0.11 sec)

  1. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

              Set<N> seenNodes = new HashSet<>();
              return new AbstractIterator<N>() {
                @Override
                @CheckForNull
                protected N computeNext() {
                  while (nodeConnections.hasNext()) {
                    NodeConnection<N> nodeConnection = nodeConnections.next();
                    boolean added = seenNodes.add(nodeConnection.node);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multisets.java

            // TODO(lowasser): consider making the entries live views
            return new AbstractIterator<Entry<E>>() {
              @Override
              @CheckForNull
              protected Entry<E> computeNext() {
                if (iterator1.hasNext()) {
                  Entry<? extends E> entry1 = iterator1.next();
                  E element = entry1.getElement();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Multisets.java

            // TODO(lowasser): consider making the entries live views
            return new AbstractIterator<Entry<E>>() {
              @Override
              @CheckForNull
              protected Entry<E> computeNext() {
                if (iterator1.hasNext()) {
                  Entry<? extends E> entry1 = iterator1.next();
                  E element = entry1.getElement();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  4. 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)
  5. android/guava/src/com/google/common/collect/DenseImmutableTable.java

          return new AbstractIterator<Entry<K, V>>() {
            private int index = -1;
            private final int maxIndex = keyToIndex().size();
    
            @Override
            @CheckForNull
            protected Entry<K, V> computeNext() {
              for (index++; index < maxIndex; index++) {
                V value = getValue(index);
                if (value != null) {
                  return immutableEntry(getKey(index), value);
                }
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. 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)
  7. android/guava/src/com/google/common/collect/Collections2.java

          this.nextPermutation = Lists.newArrayList(list);
          this.comparator = comparator;
        }
    
        @Override
        @CheckForNull
        protected List<E> computeNext() {
          if (nextPermutation == null) {
            return endOfData();
          }
          ImmutableList<E> next = ImmutableList.copyOf(nextPermutation);
          calculateNextPermutation();
          return next;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top