Home
last modified time | relevance | path

Searched refs:forwardList (Results 1 – 5 of 5) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DLists.java808 private final List<T> forwardList;
810 ReverseList(List<T> forwardList) {
811 this.forwardList = checkNotNull(forwardList);
815 return forwardList;
832 forwardList.add(reversePosition(index), element);
837 forwardList.clear();
842 return forwardList.remove(reverseIndex(index));
852 return forwardList.set(reverseIndex(index), element);
857 return forwardList.get(reverseIndex(index));
862 return forwardList.size();
[all …]
DImmutableList.java598 private final transient ImmutableList<E> forwardList;
601 this.forwardList = backingList;
614 return forwardList;
619 return forwardList.contains(object);
624 int index = forwardList.lastIndexOf(object);
630 int index = forwardList.indexOf(object);
637 return forwardList.subList(reversePosition(toIndex), reversePosition(fromIndex)).reverse();
643 return forwardList.get(reverseIndex(index));
648 return forwardList.size();
653 return forwardList.isPartialView();
/external/guava/android/guava/src/com/google/common/collect/
DLists.java795 private final List<T> forwardList;
797 ReverseList(List<T> forwardList) {
798 this.forwardList = checkNotNull(forwardList);
802 return forwardList;
819 forwardList.add(reversePosition(index), element);
824 forwardList.clear();
829 return forwardList.remove(reverseIndex(index));
839 return forwardList.set(reverseIndex(index), element);
844 return forwardList.get(reverseIndex(index));
849 return forwardList.size();
[all …]
DImmutableList.java562 private final transient ImmutableList<E> forwardList; field in ImmutableList.ReverseImmutableList
565 this.forwardList = backingList; in ReverseImmutableList()
578 return forwardList; in reverse()
583 return forwardList.contains(object); in contains()
588 int index = forwardList.lastIndexOf(object); in indexOf()
594 int index = forwardList.indexOf(object); in lastIndexOf()
601 return forwardList.subList(reversePosition(toIndex), reversePosition(fromIndex)).reverse(); in subList()
607 return forwardList.get(reverseIndex(index)); in get()
612 return forwardList.size(); in size()
617 return forwardList.isPartialView(); in isPartialView()
/external/icu/icu4c/source/test/intltest/
Dssearch.cpp643 OrderList forwardList; in offsetTest() local
652 forwardList.add(order, low, high); in offsetTest()
674 if (forwardList.compare(backwardList)) { in offsetTest()
676 logln("Forward offsets: [%s]", printOffsets(buffer, forwardList)); in offsetTest()
679 logln("Forward CEs: [%s]", printOrders(buffer, forwardList)); in offsetTest()
685 infoln("Forward offsets: [%s]", printOffsets(buffer, forwardList)); in offsetTest()
688 infoln("Forward CEs: [%s]", printOrders(buffer, forwardList)); in offsetTest()