Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hasNext (0.16 sec)

  1. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

        checkPositionIndex(position, size);
        this.size = size;
        this.position = position;
      }
    
      @Override
      public final boolean hasNext() {
        return position < size;
      }
    
      @Override
      @ParametricNullness
      public final E next() {
        if (!hasNext()) {
          throw new NoSuchElementException();
        }
        return get(position++);
      }
    
      @Override
      public final int nextIndex() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 3.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractIndexedListIterator.java

        checkPositionIndex(position, size);
        this.size = size;
        this.position = position;
      }
    
      @Override
      public final boolean hasNext() {
        return position < size;
      }
    
      @Override
      @ParametricNullness
      public final E next() {
        if (!hasNext()) {
          throw new NoSuchElementException();
        }
        return get(position++);
      }
    
      @Override
      public final int nextIndex() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 3.2K bytes
    - Viewed (0)
Back to top