Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for reversePosition (0.09 sec)

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

          return reverse(forwardList.subList(reversePosition(toIndex), reversePosition(fromIndex)));
        }
    
        @Override
        public Iterator<T> iterator() {
          return listIterator();
        }
    
        @Override
        public ListIterator<T> listIterator(int index) {
          int start = reversePosition(index);
          final ListIterator<T> forwardIterator = forwardList.listIterator(start);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableList.java

        }
    
        @Override
        public ImmutableList<E> subList(int fromIndex, int toIndex) {
          checkPositionIndexes(fromIndex, toIndex, size());
          return forwardList.subList(reversePosition(toIndex), reversePosition(fromIndex)).reverse();
        }
    
        @Override
        public E get(int index) {
          checkElementIndex(index, size());
          return forwardList.get(reverseIndex(index));
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
Back to top