Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for hasNext (0.17 sec)

  1. guava/src/com/google/common/collect/AbstractIterator.java

       * there are no elements left in the iteration. Failure to do so could result in an infinite loop.
       *
       * <p>The initial invocation of {@link #hasNext()} or {@link #next()} calls this method, as does
       * the first invocation of {@code hasNext} or {@code next} following each successful call to
       * {@code next}. Once the implementation either invokes {@code endOfData} or throws an exception,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Mar 18 02:04:10 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractIterator.java

       * there are no elements left in the iteration. Failure to do so could result in an infinite loop.
       *
       * <p>The initial invocation of {@link #hasNext()} or {@link #next()} calls this method, as does
       * the first invocation of {@code hasNext} or {@code next} following each successful call to
       * {@code next}. Once the implementation either invokes {@code endOfData} or throws an exception,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 18 02:04:10 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/AbstractIterator.java

          state = State.READY;
          return true;
        }
        return false;
      }
    
      @Override
      @ParametricNullness
      public final T next() {
        if (!hasNext()) {
          throw new NoSuchElementException();
        }
        state = State.NOT_READY;
        // Safe because hasNext() ensures that tryToComputeNext() has put a T into `next`.
        T result = uncheckedCastNullableTToT(next);
        next = null;
        return result;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/AbstractIterator.java

          state = State.READY;
          return true;
        }
        return false;
      }
    
      @Override
      @ParametricNullness
      public final T next() {
        if (!hasNext()) {
          throw new NoSuchElementException();
        }
        state = State.NOT_READY;
        // Safe because hasNext() ensures that tryToComputeNext() has put a T into `next`.
        T result = uncheckedCastNullableTToT(next);
        next = null;
        return result;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 2.5K bytes
    - Viewed (0)
Back to top