Lines Matching refs:action

942         public void forEachRemaining(Consumer<? super T> action) {
944 if (action == null)
948 do { action.accept((T)a[i]); } while (++i < hi);
953 public boolean tryAdvance(Consumer<? super T> action) {
954 if (action == null)
958 action.accept(e);
1026 public void forEachRemaining(IntConsumer action) {
1028 if (action == null)
1032 do { action.accept(a[i]); } while (++i < hi);
1037 public boolean tryAdvance(IntConsumer action) {
1038 if (action == null)
1041 action.accept(array[index++]);
1109 public void forEachRemaining(LongConsumer action) {
1111 if (action == null)
1115 do { action.accept(a[i]); } while (++i < hi);
1120 public boolean tryAdvance(LongConsumer action) {
1121 if (action == null)
1124 action.accept(array[index++]);
1192 public void forEachRemaining(DoubleConsumer action) {
1194 if (action == null)
1198 do { action.accept(a[i]); } while (++i < hi);
1203 public boolean tryAdvance(DoubleConsumer action) {
1204 if (action == null)
1207 action.accept(array[index++]);
1794 public void forEachRemaining(Consumer<? super T> action) {
1795 if (action == null) throw new NullPointerException();
1801 i.forEachRemaining(action);
1805 public boolean tryAdvance(Consumer<? super T> action) {
1806 if (action == null) throw new NullPointerException();
1812 action.accept(it.next());
1906 public void forEachRemaining(IntConsumer action) {
1907 if (action == null) throw new NullPointerException();
1908 it.forEachRemaining(action);
1912 public boolean tryAdvance(IntConsumer action) {
1913 if (action == null) throw new NullPointerException();
1915 action.accept(it.nextInt());
2000 public void forEachRemaining(LongConsumer action) {
2001 if (action == null) throw new NullPointerException();
2002 it.forEachRemaining(action);
2006 public boolean tryAdvance(LongConsumer action) {
2007 if (action == null) throw new NullPointerException();
2009 action.accept(it.nextLong());
2094 public void forEachRemaining(DoubleConsumer action) {
2095 if (action == null) throw new NullPointerException();
2096 it.forEachRemaining(action);
2100 public boolean tryAdvance(DoubleConsumer action) {
2101 if (action == null) throw new NullPointerException();
2103 action.accept(it.nextDouble());