Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PickyIterable (0.04 sec)

  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() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 56.7K bytes
    - Viewed (0)
Back to top