Home
last modified time | relevance | path

Searched refs:listIterator (Results 1 – 25 of 82) sorted by relevance

1234

/external/smali/util/src/test/java/org/jf/util/
DAbstractForwardSequentialListTest.java97 testForwardIterationImpl(list.listIterator()); in testForwardIteration()
120 testReverseIterationImpl(list.listIterator(100)); in testReverseIteration()
125 ListIterator<Integer> iter = list.listIterator(50); in testAlternatingIteration()
146 ListIterator<Integer> iter = list.listIterator(0); in testAlternatingIteration2()
156 list.listIterator(-1); in testNegativeIndex()
161 list.listIterator(101); in testLargeIndex()
166 list.listIterator(1000000); in testLargeIndex2()
174 ListIterator<Integer> iter = list.listIterator(0); in testForwardIterationException()
188 ListIterator<Integer> iter = list.listIterator(100); in testForwardIterationException2()
197 ListIterator<Integer> iter = list.listIterator(100); in testReverseIterationException()
[all …]
/external/guava/guava/src/com/google/common/collect/
DLists.java574 @Override public ListIterator<T> listIterator(final int index) { in listIterator() method in Lists.TransformingSequentialList
575 return new TransformedListIterator<F, T>(fromList.listIterator(index)) { in listIterator()
611 return listIterator();
613 @Override public ListIterator<T> listIterator(int index) {
614 return new TransformedListIterator<F, T>(fromList.listIterator(index)) {
856 return listIterator();
859 @Override public ListIterator<T> listIterator(int index) {
861 final ListIterator<T> forwardIterator = forwardList.listIterator(start);
963 ListIterator<E> listIterator = list.listIterator(index);
965 listIterator.add(e);
[all …]
DForwardingList.java90 public ListIterator<E> listIterator() { in listIterator() method in ForwardingList
91 return delegate().listIterator(); in listIterator()
95 public ListIterator<E> listIterator(int index) { in listIterator() method in ForwardingList
96 return delegate().listIterator(index); in listIterator()
179 return listIterator(); in standardIterator()
191 return listIterator(0); in standardListIterator()
DConstraints.java215 @Override public ListIterator<E> listIterator() { in listIterator() method in Constraints.ConstrainedList
216 return constrainedListIterator(delegate.listIterator(), constraint); in listIterator()
218 @Override public ListIterator<E> listIterator(int index) { in listIterator() method in Constraints.ConstrainedList
219 return constrainedListIterator(delegate.listIterator(index), constraint); in listIterator()
250 ListIterator<E> listIterator, Constraint<? super E> constraint) { in constrainedListIterator() argument
251 return new ConstrainedListIterator<E>(listIterator, constraint); in constrainedListIterator()
DRegularImmutableAsList.java54 public UnmodifiableListIterator<E> listIterator(int index) { in listIterator() method in RegularImmutableAsList
55 return (UnmodifiableListIterator<E>) delegateList.listIterator(index); in listIterator()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DLists.java540 @Override public ListIterator<T> listIterator(final int index) { in listIterator() method in Lists.TransformingSequentialList
541 return new TransformedListIterator<F, T>(fromList.listIterator(index)) { in listIterator()
577 return listIterator();
579 @Override public ListIterator<T> listIterator(int index) {
580 return new TransformedListIterator<F, T>(fromList.listIterator(index)) {
822 return listIterator();
825 @Override public ListIterator<T> listIterator(int index) {
827 final ListIterator<T> forwardIterator = forwardList.listIterator(start);
929 ListIterator<E> listIterator = list.listIterator(index);
931 listIterator.add(e);
[all …]
DRegularImmutableAsList.java53 public UnmodifiableListIterator<E> listIterator(int index) { in listIterator() method in RegularImmutableAsList
54 return (UnmodifiableListIterator<E>) delegateList.listIterator(index); in listIterator()
/external/nist-sip/java/gov/nist/core/
DGenericObjectList.java129 for (ListIterator<GenericObject> iter = retval.listIterator(); iter.hasNext();) { in clone()
196 myListIterator = this.listIterator(0); in first()
209 myListIterator = this.listIterator(0); in next()
330 Iterator it1 = this.listIterator(); in mergeObjects()
331 Iterator it2 = mergeList.listIterator(); in mergeObjects()
351 ListIterator iterator = this.listIterator(); in encode()
407 ListIterator myIterator = this.listIterator(); in equals()
410 ListIterator hisIterator = that.listIterator(); in equals()
421 ListIterator hisIterator = that.listIterator(); in equals()
424 myIterator = this.listIterator(); in equals()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/
DListListIteratorTester.java77 return getList().listIterator(); in runListIteratorTest()
88 getList().listIterator(-1); in testListIterator_tooLow()
96 getList().listIterator(getNumElements() + 1); in testListIterator_tooHigh()
103 getList().listIterator(getNumElements()); in testListIterator_atSize()
/external/nist-sip/java/gov/nist/javax/sip/header/
DAllowEventsList.java79 ListIterator<AllowEvents> li = super.hlist.listIterator(); in getMethods()
85 return ll.listIterator(); in getMethods()
104 ListIterator<String> it = methods.listIterator(); in setMethods()
DSIPHeaderList.java168 ListIterator<HDR> li = hlist.listIterator(); in encode()
195 ListIterator<HDR> li = hlist.listIterator(); in getHeadersAsEncodedStrings()
252 public ListIterator<HDR> listIterator() { in listIterator() method in SIPHeaderList
254 return hlist.listIterator(0); in listIterator()
273 public ListIterator<HDR> listIterator(int position) { in listIterator() method in SIPHeaderList
274 return hlist.listIterator(position); in listIterator()
500 ListIterator<HDR> iterator = this.listIterator(); in encodeBody()
573 return this.hlist.listIterator(); in iterator()
DRouteList.java77 ListIterator<Route> it = this.listIterator(); in equals()
78 ListIterator<Route> it1 = that.listIterator(); in equals()
DServer.java63 ListIterator it = productTokens.listIterator(); in encodeProduct()
106 return productTokens.listIterator(); in getProduct()
DAllowList.java87 return ll.listIterator(); in getMethods()
106 ListIterator<String> it = methods.listIterator(); in setMethods()
DSIPObjectList.java87 Iterator<GenericObject> it1 = this.listIterator(); in mergeObjects()
88 Iterator<GenericObject> it2 = mergeList.listIterator(); in mergeObjects()
DUserAgent.java61 ListIterator it = productTokens.listIterator(); in encodeProduct()
101 return productTokens.listIterator(); in getProduct()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/
DVariableSizeList.java55 public VariableSizeListIterator<T> listIterator() { in listIterator() method in VariableSizeList
56 return listIterator(0); in listIterator()
63 public VariableSizeListIterator<T> listIterator(int index) { in listIterator() method in VariableSizeList
/external/guava/guava-tests/test/com/google/common/collect/
DForwardingListTest.java119 return listIterator(); in iterator()
122 @Override public ListIterator<T> listIterator() { in listIterator() method in ForwardingListTest.StandardImplForwardingList
123 return listIterator(0); in listIterator()
126 @Override public ListIterator<T> listIterator(int index) { in listIterator() method in ForwardingListTest.StandardImplForwardingList
243 forward.listIterator(); in testListIterator()
248 forward.listIterator(0); in testListIterator_int()
DConstraintsTest.java188 ListIterator<String> iterator = constrained.listIterator(); in testConstrainedListLegal()
191 constrained.listIterator(2).add("sky"); in testConstrainedListLegal()
217 constrained.listIterator().add(TEST_ELEMENT); in testConstrainedListIllegal()
221 constrained.listIterator(1).add(TEST_ELEMENT); in testConstrainedListIllegal()
225 constrained.listIterator().set(TEST_ELEMENT); in testConstrainedListIllegal()
229 constrained.listIterator(1).set(TEST_ELEMENT); in testConstrainedListIllegal()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DListListIteratorTester.java80 return getList().listIterator(); in runListIteratorTest()
91 getList().listIterator(-1); in testListIterator_tooLow()
99 getList().listIterator(getNumElements() + 1); in testListIterator_tooHigh()
106 getList().listIterator(getNumElements()); in testListIterator_atSize()
/external/smali/util/src/main/java/org/jf/util/
DAbstractForwardSequentialList.java57 @Override @Nonnull public ListIterator<T> listIterator(final int initialIndex) { in listIterator() method in AbstractForwardSequentialList
115 @Override @Nonnull public ListIterator<T> listIterator() { in listIterator() method
116 return listIterator(0); in listIterator()
/external/nist-sip/java/gov/nist/javax/sip/message/
DSIPMessage.java288 .listIterator(); in match()
293 ListIterator< ? > innerIterator = myHeaders.listIterator(); in match()
307 ListIterator<SIPHeader> innerIterator = myHeaders.listIterator(); in match()
342 ListIterator<SIPHeader> it = myHdrs.listIterator(); in merge()
602 ListIterator<SIPHeader> listIterator = headers.listIterator(); in setHeaders() local
603 while (listIterator.hasNext()) { in setHeaders()
604 SIPHeader sipHeader = (SIPHeader) listIterator.next(); in setHeaders()
1012 ListIterator it = viaList.listIterator(); in setVia()
1393 return new LinkedList<SIPHeader>().listIterator(); in getHeaders()
1395 return ((SIPHeaderList<SIPHeader>) sipHeader).listIterator(); in getHeaders()
[all …]
/external/protobuf/java/src/main/java/com/google/protobuf/
DUnmodifiableLazyStringList.java107 public ListIterator<String> listIterator(final int index) { in listIterator() method in UnmodifiableLazyStringList
109 ListIterator<String> iter = list.listIterator(index); in listIterator()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DConnectionPool.java138 for (ListIterator<Connection> i = connections.listIterator(connections.size()); in get()
276 for (ListIterator<Connection> i = connections.listIterator(connections.size()); in performCleanup()
290 for (ListIterator<Connection> i = connections.listIterator(connections.size()); in performCleanup()
/external/jetty/src/java/org/eclipse/jetty/util/
DLazyList.java404 public static<E> ListIterator<E> listIterator(Object list) in listIterator() method in LazyList
409 return empty.listIterator(); in listIterator()
412 return ((List<E>)list).listIterator(); in listIterator()
415 return l.listIterator(); in listIterator()

1234