Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 63 for ListIterator (0.13 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

        assertThrows(IndexOutOfBoundsException.class, () -> getList().listIterator(-1));
      }
    
      public void testListIterator_tooHigh() {
        assertThrows(
            IndexOutOfBoundsException.class, () -> getList().listIterator(getNumElements() + 1));
      }
    
      public void testListIterator_atSize() {
        getList().listIterator(getNumElements());
        // TODO: run the iterator through ListIteratorTester
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ForwardingListTest.java

          return standardLastIndexOf(element);
        }
    
        @Override
        public Iterator<T> iterator() {
          return listIterator();
        }
    
        @Override
        public ListIterator<T> listIterator() {
          return listIterator(0);
        }
    
        @Override
        public ListIterator<T> listIterator(int index) {
          return standardListIterator(index);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ForwardingListTest.java

          return standardLastIndexOf(element);
        }
    
        @Override
        public Iterator<T> iterator() {
          return listIterator();
        }
    
        @Override
        public ListIterator<T> listIterator() {
          return listIterator(0);
        }
    
        @Override
        public ListIterator<T> listIterator(int index) {
          return standardListIterator(index);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CartesianList.java

        if (!(o instanceof List)) {
          return -1;
        }
        List<?> list = (List<?>) o;
        if (list.size() != axes.size()) {
          return -1;
        }
        ListIterator<?> itr = list.listIterator();
        int computedIndex = 0;
        while (itr.hasNext()) {
          int axisIndex = itr.nextIndex();
          int elemIndex = axes.get(axisIndex).indexOf(itr.next());
          if (elemIndex == -1) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            SmbTransport conn;
    
            synchronized( CONNECTIONS ) {
                if( SSN_LIMIT != 1 ) {
                    ListIterator iter = CONNECTIONS.listIterator();
                    while( iter.hasNext() ) {
                        conn = (SmbTransport)iter.next();
                        if( conn.matches( address, port, localAddr, localPort, hostName ) &&
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CartesianList.java

        if (!(o instanceof List)) {
          return -1;
        }
        List<?> list = (List<?>) o;
        if (list.size() != axes.size()) {
          return -1;
        }
        ListIterator<?> itr = list.listIterator();
        int computedIndex = 0;
        while (itr.hasNext()) {
          int axisIndex = itr.nextIndex();
          int elemIndex = axes.get(axisIndex).indexOf(itr.next());
          if (elemIndex == -1) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/QueryResponseList.java

            return parent.lastIndexOf(o);
        }
    
        @Override
        public ListIterator<Map<String, Object>> listIterator() {
            return parent.listIterator();
        }
    
        @Override
        public ListIterator<Map<String, Object>> listIterator(final int index) {
            return parent.listIterator(index);
        }
    
        @Override
        public Map<String, Object> remove(final int index) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingListIterator.java

    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingListIterator<E extends @Nullable Object>
        extends ForwardingIterator<E> implements ListIterator<E> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingListIterator() {}
    
      @Override
      protected abstract ListIterator<E> delegate();
    
      @Override
      public void add(@ParametricNullness E element) {
        delegate().add(element);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ForwardingListIteratorTest.java

                  @Override
                  public ListIterator<?> apply(ListIterator delegate) {
                    return wrap((ListIterator<?>) delegate);
                  }
                });
      }
    
      private static <T> ListIterator<T> wrap(final ListIterator<T> delegate) {
        return new ForwardingListIterator<T>() {
          @Override
          protected ListIterator<T> delegate() {
            return delegate;
          }
        };
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ForwardingListIterator.java

    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingListIterator<E extends @Nullable Object>
        extends ForwardingIterator<E> implements ListIterator<E> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingListIterator() {}
    
      @Override
      protected abstract ListIterator<E> delegate();
    
      @Override
      public void add(@ParametricNullness E element) {
        delegate().add(element);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 2.5K bytes
    - Viewed (0)
Back to top