Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for hasPrevious (0.15 sec)

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

      protected abstract ListIterator<E> delegate();
    
      @Override
      public void add(@ParametricNullness E element) {
        delegate().add(element);
      }
    
      @Override
      public boolean hasPrevious() {
        return delegate().hasPrevious();
      }
    
      @Override
      public int nextIndex() {
        return delegate().nextIndex();
      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public E previous() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java

            }
            return array[i++];
          }
    
          @Override
          public boolean hasPrevious() {
            return i > 0;
          }
    
          @Override
          public int nextIndex() {
            return i;
          }
    
          @Override
          public String previous() {
            if (!hasPrevious()) {
              throw new NoSuchElementException();
            }
            return array[--i];
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingListIterator.java

      protected abstract ListIterator<E> delegate();
    
      @Override
      public void add(@ParametricNullness E element) {
        delegate().add(element);
      }
    
      @Override
      public boolean hasPrevious() {
        return delegate().hasPrevious();
      }
    
      @Override
      public int nextIndex() {
        return delegate().nextIndex();
      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public E previous() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractIndexedListIterator.java

      }
    
      @Override
      public final int nextIndex() {
        return position;
      }
    
      @Override
      public final boolean hasPrevious() {
        return position > 0;
      }
    
      @Override
      @ParametricNullness
      public final E previous() {
        if (!hasPrevious()) {
          throw new NoSuchElementException();
        }
        return get(--position);
      }
    
      @Override
      public final int previousIndex() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TransformedListIterator.java

        super(backingIterator);
      }
    
      private ListIterator<? extends F> backingIterator() {
        return (ListIterator<? extends F>) backingIterator;
      }
    
      @Override
      public final boolean hasPrevious() {
        return backingIterator().hasPrevious();
      }
    
      @Override
      @ParametricNullness
      public final T previous() {
        return transform(backingIterator().previous());
      }
    
      @Override
      public final int nextIndex() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Nov 21 21:43:01 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/TransformedListIterator.java

        super(backingIterator);
      }
    
      private ListIterator<? extends F> backingIterator() {
        return (ListIterator<? extends F>) backingIterator;
      }
    
      @Override
      public final boolean hasPrevious() {
        return backingIterator().hasPrevious();
      }
    
      @Override
      @ParametricNullness
      public final T previous() {
        return transform(backingIterator().previous());
      }
    
      @Override
      public final int nextIndex() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Nov 21 21:43:01 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

      }
    
      @Override
      public final int nextIndex() {
        return position;
      }
    
      @Override
      public final boolean hasPrevious() {
        return position > 0;
      }
    
      @Override
      @ParametricNullness
      public final E previous() {
        if (!hasPrevious()) {
          throw new NoSuchElementException();
        }
        return get(--position);
      }
    
      @Override
      public final int previousIndex() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 3.2K bytes
    - Viewed (0)
Back to top