Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 366 for iteratorAt (0.21 sec)

  1. guava/src/com/google/common/collect/TreeRangeSet.java

            }
          }
          return null;
        }
    
        @Override
        Iterator<Entry<Cut<C>, Range<C>>> entryIterator() {
          if (restriction.isEmpty()) {
            return Iterators.emptyIterator();
          }
          Iterator<Range<C>> completeRangeItr;
          if (lowerBoundWindow.upperBound.isLessThan(restriction.lowerBound)) {
            return Iterators.emptyIterator();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/DirectedGraphConnections.java

          }
        };
      }
    
      @Override
      public Iterator<EndpointPair<N>> incidentEdgeIterator(N thisNode) {
        checkNotNull(thisNode);
    
        Iterator<EndpointPair<N>> resultWithDoubleSelfLoop;
        if (orderedNodeConnections == null) {
          resultWithDoubleSelfLoop =
              Iterators.concat(
                  Iterators.transform(
                      predecessors().iterator(),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/StandardTable.java

          checkNotNull(c);
          boolean changed = false;
          Iterator<Map<C, V>> iterator = backingMap.values().iterator();
          while (iterator.hasNext()) {
            Map<C, V> map = iterator.next();
            // map.keySet().removeAll(c) can throw a NPE when map is a TreeMap with
            // natural ordering and c contains a null.
            if (Iterators.removeAll(map.keySet().iterator(), c)) {
              changed = true;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 30.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/StandardTable.java

          checkNotNull(c);
          boolean changed = false;
          Iterator<Map<C, V>> iterator = backingMap.values().iterator();
          while (iterator.hasNext()) {
            Map<C, V> map = iterator.next();
            // map.keySet().removeAll(c) can throw a NPE when map is a TreeMap with
            // natural ordering and c contains a null.
            if (Iterators.removeAll(map.keySet().iterator(), c)) {
              changed = true;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 29.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

          }
        };
      }
    
      @Override
      public Iterator<EndpointPair<N>> incidentEdgeIterator(N thisNode) {
        checkNotNull(thisNode);
    
        Iterator<EndpointPair<N>> resultWithDoubleSelfLoop;
        if (orderedNodeConnections == null) {
          resultWithDoubleSelfLoop =
              Iterators.concat(
                  Iterators.transform(
                      predecessors().iterator(),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        }
      }
    
      /**
       * Verifies that an Iterator is unmodifiable.
       *
       * <p>This test only works with iterators that iterate over a finite set.
       */
      public static void assertIteratorIsUnmodifiable(Iterator<?> iterator) {
        while (iterator.hasNext()) {
          iterator.next();
          try {
            iterator.remove();
            fail("Remove on unmodifiable iterator succeeded");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/LinkedListMultimap.java

          }
        }
        size--;
      }
    
      /** Removes all nodes for the specified key. */
      private void removeAllNodes(@ParametricNullness K key) {
        Iterators.clear(new ValueForKeyIterator(key));
      }
    
      /** An {@code Iterator} over all nodes. */
      private class NodeIterator implements ListIterator<Entry<K, V>> {
        int nextIndex;
        @CheckForNull Node<K, V> next;
        @CheckForNull Node<K, V> current;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        final Iterator<Entry<K, Collection<V>>> keyIterator;
        @CheckForNull K key;
        @CheckForNull Collection<V> collection;
        Iterator<V> valueIterator;
    
        Itr() {
          keyIterator = map.entrySet().iterator();
          key = null;
          collection = null;
          valueIterator = Iterators.emptyModifiableIterator();
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 46.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/LinkedListMultimap.java

          }
        }
        size--;
      }
    
      /** Removes all nodes for the specified key. */
      private void removeAllNodes(@ParametricNullness K key) {
        Iterators.clear(new ValueForKeyIterator(key));
      }
    
      /** An {@code Iterator} over all nodes. */
      private class NodeIterator implements ListIterator<Entry<K, V>> {
        int nextIndex;
        @CheckForNull Node<K, V> next;
        @CheckForNull Node<K, V> current;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        final Iterator<Entry<K, Collection<V>>> keyIterator;
        @CheckForNull K key;
        @CheckForNull Collection<V> collection;
        Iterator<V> valueIterator;
    
        Itr() {
          keyIterator = map.entrySet().iterator();
          key = null;
          collection = null;
          valueIterator = Iterators.emptyModifiableIterator();
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 48K bytes
    - Viewed (0)
Back to top