Home | History | Annotate | Download | only in collect

Lines Matching refs:hasNext

56         public boolean hasNext() {
78 /*@Override*/ public boolean hasNext() {
108 public boolean hasNext() {
109 return iterator.hasNext();
119 * will be left exhausted: its {@code hasNext()} method will return
124 while (iterator.hasNext()) {
137 while (iterator.hasNext()) {
143 while (iterator.hasNext()) {
155 * {@code hasNext()} method will return {@code false}.
165 while (removeFrom.hasNext()) {
176 * iterator. The iterator will be left exhausted: its {@code hasNext()}
189 while (removeFrom.hasNext()) {
201 * {@code hasNext()} method will return {@code false}.
211 while (removeFrom.hasNext()) {
232 while (iterator1.hasNext()) {
233 if (!iterator2.hasNext()) {
242 return !iterator2.hasNext();
248 * {@code hasNext()} method will return {@code false}.
251 if (!iterator.hasNext()) {
256 while (iterator.hasNext()) {
271 if (!iterator.hasNext()) {
277 for (int i = 0; i < 4 && iterator.hasNext(); i++) {
280 if (iterator.hasNext()) {
297 return iterator.hasNext() ? getOnlyElement(iterator) : defaultValue;
302 * exhausted: its {@code hasNext()} method will return {@code false}.
318 * will be left exhausted: its {@code hasNext()} method will return
328 while (iterator.hasNext()) {
337 * {@code hasNext()} method will return {@code false}.
344 while (iterator.hasNext()) {
350 while (iterator.hasNext()) {
366 * {@code hasNext()} method returns {@code true} until {@code iterable} is
379 public boolean hasNext() {
380 if (!iterator.hasNext()) {
383 return iterator.hasNext();
386 if (!hasNext()) {
407 * {@code hasNext()} method returns {@code true} until all of the original
502 public boolean hasNext() {
504 // current.hasNext() might be relatively expensive, worth minimizing.
506 while (!(currentHasNext = current.hasNext()) && inputs.hasNext()) {
512 if (!hasNext()) {
573 public boolean hasNext() {
574 return iterator.hasNext();
577 if (!hasNext()) {
582 for (; count < size && iterator.hasNext(); count++) {
603 while (unfiltered.hasNext()) {
639 while (iterator.hasNext()) {
656 while (iterator.hasNext()) {
670 * {@code hasNext()} method will return {@code false}.
691 * {@code hasNext()} method will return {@code false}. Otherwise,
701 while (iterator.hasNext()) {
724 public boolean hasNext() {
725 return fromIterator.hasNext();
754 while (iterator.hasNext()) {
775 if (!iterator.hasNext()) {
797 public boolean hasNext() {
798 return iterator.hasNext();
829 public boolean hasNext() {
869 public boolean hasNext() {
873 if (!hasNext()) {
891 public boolean hasNext() {
916 public boolean hasNext() {
936 return iterator.hasNext();
957 public boolean hasNext() {
958 return hasPeeked || iterator.hasNext();