/guava/guava/src/com/google/common/collect/Iterators.java
return iterator.hasNext( ) ;T element = iterator.next( ) ;
T element = iterator.next ( ) ;
return indexOf(iterator, predicate) != -1; } public static <T extends @Nullable Object> boolean all( Iterator<T> iterator, Predicate<? super T> predicate) { checkNotNull(predicate); while (iterator.hasNext()) { <extra_id_0> if (!predicate.apply(element)) { return false; } } return true; }