Searched refs:previous (Results 1 - 25 of 37) sorted by relevance

12

/libcore/luni/src/main/java/java/util/
H A DLinkedList.java51 Link<ET> previous, next; field in class:LinkedList.Link
55 previous = p;
81 link = link.previous;
94 next.previous = newLink;
131 public ET previous() { method in class:LinkedList.LinkIterator
135 link = link.previous;
152 Link<ET> previous = lastLink.previous;
153 next.previous = previous;
[all...]
H A DListIterator.java29 * {@code previous}. The object inserted will be the previous object.
51 * Returns whether there are previous elements to iterate.
53 * @return {@code true} if there are previous elements, {@code false}
55 * @see #previous
81 * Returns the previous object in the iteration.
83 * @return the previous object.
85 * if there are no previous elements.
88 public E previous(); method in interface:ListIterator
91 * Returns the index of the previous objec
[all...]
H A DAbstractList.java122 public E previous() { method in class:AbstractList.FullListIterator
210 public E previous() { method in class:AbstractList.SubAbstractList.SubAbstractListIterator
212 return iterator.previous();
218 int previous = iterator.previousIndex();
219 if (previous >= start) {
220 return previous - start;
381 * The object is inserted before any previous element at the specified
585 if (object.equals(it.previous())) {
591 if (it.previous() == null) {
670 * @return the previous elemen
[all...]
/libcore/luni/src/main/java/java/text/
H A DCharacterIterator.java98 * @return the character at the previous index, or {@code DONE} if the
99 * previous index would be past the beginning.
101 public char previous(); method in interface:CharacterIterator
H A DCollationElementIterator.java51 * {@code next()} and {@code previous()} when the end or the
70 * call to either the {@link #next()} or {@link #previous()}
117 * Obtains the previous collation element in the source string.
119 * @return the previous collation element, or {@code NULLORDER} when
122 public int previous() { method in class:CollationElementIterator
123 return this.icuIterator.previous();
140 * string. The next call to {@link #next()} or {@link #previous()} will
H A DRuleBasedBreakIterator.java74 @Override public int previous() { method in class:RuleBasedBreakIterator
75 return wrapped.previous();
H A DBreakIterator.java58 * {@code first()}, {@code last()}, {@code next()}, and {@code previous()} that
71 * beginning of the text and the user calls {@code previous()}.</li>
139 * for (int start = boundary.previous(); start != BreakIterator.DONE; end = start, start = boundary
140 * .previous()) {
167 * int start = boundary.previous();
180 * int start = boundary.previous();
228 * This constant is returned by iterate methods like {@code previous()} or
463 * Sets this iterator's current position to the previous boundary before the
469 public abstract int previous(); method in class:BreakIterator
H A DChoiceFormat.java335 * get the previous smaller value.
456 String previous = String.valueOf(previousDouble(choiceLimits[i]));
458 if (previous.length() < limit.length()) {
459 buffer.append(previous);
H A DStringCharacterIterator.java225 * @return the character at the previous index, or {@code DONE} if the
226 * previous index would be past the beginning.
228 public char previous() { method in class:StringCharacterIterator
/libcore/luni/src/test/java/libcore/java/text/
H A DOldCollationElementIteratorTest.java43 order = iterator.previous();
47 order = iterator.previous();
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DTextImpl.java145 * Tries to remove this node using itself and the previous node as context.
147 * If the previous node exists and is a text node, this node's text will be
162 Node previous = getPreviousSibling();
163 if (previous == null || previous.getNodeType() != Node.TEXT_NODE) {
167 TextImpl previousText = (TextImpl) previous;
/libcore/luni/src/main/java/libcore/icu/
H A DCollationElementIteratorICU.java23 * data string depending on whether next() is called or previous().
33 * ce = iterator.previous();
70 * Get the ordering priority of the previous collation element in the text.
72 * @return previous collation element ordering, or NULLORDER if the end of
76 public int previous() { method in class:CollationElementIteratorICU
77 return NativeCollation.previous(address);
83 * @param order collation order returned by previous or next.
H A DNativeCollation.java39 public static native int previous(int address); method in class:NativeCollation
H A DNativeBreakIterator.java110 public int previous() { method in class:NativeBreakIterator
/libcore/luni/src/main/java/libcore/util/
H A DBasicLruCache.java67 * @return the previous value mapped by {@code key}. Although that entry is
77 V previous = map.put(key, value);
79 return previous;
/libcore/support/src/test/java/tests/support/
H A DSupport_ListTest.java57 "ListTest - c) add with index failed--affected previous elements",
65 assertTrue("ListTest - c) set failed--affected previous elements", list
75 "ListTest - c) remove with index failed--affected previous elements",
94 "ListTest - e) addAll with index failed--affected previous elements",
165 assertTrue("list iterator previous(): " + i, li.previous() == list
181 li.previous();
185 assertTrue("list iterator previous() exception", exception);
197 Object previous = li.previous();
[all...]
/libcore/luni/src/test/java/libcore/java/util/
H A DOldListIteratorTest.java80 public Object previous() { method in class:OldListIteratorTest.Mock_ListIterator
138 l.previous();
148 assertTrue(objArray[i].equals(l.previous()));
152 l.previous();
H A DCollectionsTest.java82 i.previous();
/libcore/luni/src/test/java/libcore/java/util/concurrent/
H A DCopyOnWriteArrayListTest.java228 assertEquals("e", i.previous());
233 assertEquals("d", i.previous());
238 assertEquals("c", i.previous());
243 assertEquals("b", i.previous());
248 assertEquals("a", i.previous());
254 i.previous();
/libcore/luni/src/main/java/java/lang/
H A DCaseMapper.java89 char previous = value[index - 1];
90 if (!(Character.isLowerCase(previous) || Character.isUpperCase(previous) || Character.isTitleCase(previous))) {
/libcore/luni/src/test/java/tests/api/java/util/
H A DAbstractSequentialListTest.java91 public Object previous() { method in class:AbstractSequentialListTest.Mock_unsupportedListIterator
130 public E previous() { method in class:AbstractSequentialListTest.Mock_ListIterator
333 public Object previous() {
448 public Object previous() {
521 public Object previous() {
/libcore/luni/src/main/java/java/math/
H A DConversion.java95 int previous = currentChar;
100 int delta = charsPerInt - previous + currentChar;
218 int previous = currentChar;
222 int delta = 9 - previous + currentChar;
/libcore/luni/src/main/native/
H A Dlibcore_icu_NativeBreakIterator.cpp176 it->previous();
178 return it->previous();
197 return it->previous();
/libcore/luni/src/test/java/libcore/java/sql/
H A DOldResultSetTest.java326 target.previous();
331 target.previous();
336 target.previous();
/libcore/luni/src/main/java/java/util/logging/
H A DLogManager.java510 int previous = logger.levelIntVal;
521 if (previous != logger.levelIntVal) {

Completed in 325 milliseconds

12