Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for PickyIterable (0.06 seconds)

  1. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertFalse(cycle.hasNext());
      }
    
      /** An Iterable whose Iterator is rigorous in checking for concurrent modification. */
      private static final class PickyIterable<E> implements Iterable<E> {
        final List<E> elements;
        int modCount = 0;
    
        PickyIterable(E... elements) {
          this.elements = new ArrayList<E>(asList(elements));
        }
    
        @Override
        public Iterator<E> iterator() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 56.7K bytes
    - Click Count (0)
Back to Top