/libcore/ojluni/src/main/java/java/text/ |
H A D | CharacterIterator.java | 56 * The methods previous() and next() are used for iteration. They return DONE if 76 * for(char c = iter.last(); c != CharacterIterator.DONE; c = iter.previous()) { 94 * c = iter.previous()) { 156 public char previous(); method in interface:CharacterIterator
|
H A D | CollationElementIterator.java | 142 * previous() updates the pointer first and then returns the element. This 144 * then call previous(), or call previous() and then call next()), you'll get 156 * Get the previous collation element in the string. <p>This iterator iterates 160 * collation element [or ordering priority] of the previous character in the 166 * iterating (i.e., call next() and then call previous(), or call previous() 169 * @return the previous collation element 172 public int previous() method in class:CollationElementIterator 175 return icuIterator.previous(); [all...] |
H A D | BreakIterator.java | 152 * for (int start = boundary.previous(); 154 * end = start, start = boundary.previous()) { 177 * int start = boundary.previous(); 188 * int start = boundary.previous(); 255 * DONE is returned by previous(), next(), next(int), preceding(int) 288 * does nothing. Negative values move to previous boundaries 314 * @return The character index of the previous text boundary or 318 public abstract int previous(); method in class:BreakIterator 357 pos = previous(); 392 * recently returned by next(), next(int), previous(), firs [all...] |
H A D | IcuIteratorWrapper.java | 288 * equivalent to repeatedly calling next() or previous(). 313 public int previous() { method in class:IcuIteratorWrapper 314 return wrapped.previous(); 348 // position specified by the caller, we can just use previous()
|
H A D | StringCharacterIterator.java | 191 * Implements CharacterIterator.previous() for String. 192 * @see CharacterIterator#previous 194 public char previous() method in class:StringCharacterIterator
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | ListIterator.java | 35 * to {@code previous()} and the element that would be 46 * {@link #previous()}. 77 * or intermixed with calls to {@link #previous} to go back and forth. 78 * (Note that alternating calls to {@code next} and {@code previous} 89 * returns {@code true} if {@link #previous} would return an element 98 * Returns the previous element in the list and moves the cursor 102 * to {@code next} and {@code previous} will return the same 105 * @return the previous element in the list 106 * @throws NoSuchElementException if the iteration has no previous 109 E previous(); method in interface:ListIterator [all...] |
H A D | AbstractList.java | 206 if (it.previous()==null) 210 if (o.equals(it.previous())) 338 * previous. Reset to -1 if this element is deleted by a call 399 public E previous() { method in class:AbstractList.ListItr 403 E previous = get(i); 405 return previous; 585 * response to the {@code next}, {@code remove}, {@code previous}, 716 public E previous() { 718 return i.previous();
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | TextImpl.java | 145 * 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;
|
H A D | NodeImpl.java | 703 UserData previous = data == null 706 return previous != null ? previous.value : null;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
H A D | StringCharacterIteratorTest.java | 304 * @tests java.text.StringCharacterIterator.previous() 308 assertEquals(CharacterIterator.DONE, fixture.previous()); 319 assertEquals('e', fixture.previous()); 321 assertEquals('r', fixture.previous()); 323 assertEquals('u', fixture.previous()); 325 assertEquals('t', fixture.previous()); 327 assertEquals('x', fixture.previous()); 329 assertEquals('i', fixture.previous()); 331 assertEquals('f', fixture.previous()); 333 assertEquals(CharacterIterator.DONE, fixture.previous()); [all...] |
H A D | CollationElementIteratorTest.java | 74 order = iterator.previous(); 78 order = iterator.previous(); 101 order = iterator.previous(); 105 order = iterator.previous();
|
H A D | BreakIteratorTest.java | 158 assertEquals(-1, iterator.previous()); 160 assertEquals(-1, iterator.previous()); 162 assertEquals(TEXT.length() - 1, iterator.previous());
|
H A D | AttributedStringTest.java | 102 public char previous() { method in class:AttributedStringTest.testAttributedCharacterIterator
|
H A D | AttributedCharacterIteratorTest.java | 133 * @tests java.text.AttributedCharacterIterator#previous() 140 assertEquals("Wrong first", 'g', it.previous());
|
/libcore/luni/src/main/java/libcore/util/ |
H A D | BasicLruCache.java | 79 * @return the previous value mapped by {@code key}. Although that entry is 89 V previous = map.put(key, value); 91 return previous;
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_ListTest.java | 57 "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 D | OldListIteratorTest.java | 80 public Object previous() { method in class:OldListIteratorTest.Mock_ListIterator 138 l.previous(); 148 assertTrue(objArray[i].equals(l.previous())); 152 l.previous();
|
/libcore/libart/src/main/java/java/lang/ |
H A D | CaseMapper.java | 87 char previous = s.charAt(index - 1); 88 if (!(Character.isLowerCase(previous) || Character.isUpperCase(previous) || Character.isTitleCase(previous))) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | AbstractSequentialListTest.java | 91 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/ojluni/src/main/java/java/util/prefs/ |
H A D | Preferences.java | 250 PreferencesFactory previous = factory; 252 return previous;
|
/libcore/luni/src/main/java/java/math/ |
H A D | Conversion.java | 95 int previous = currentChar; 100 int delta = charsPerInt - previous + currentChar; 218 int previous = currentChar; 222 int delta = 9 - previous + currentChar;
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
H A D | CopyOnWriteArrayListTest.java | 229 assertEquals("e", i.previous()); 234 assertEquals("d", i.previous()); 239 assertEquals("c", i.previous()); 244 assertEquals("b", i.previous()); 249 assertEquals("a", i.previous()); 255 i.previous();
|
/libcore/luni/src/test/java/libcore/java/sql/ |
H A D | OldResultSetTest.java | 326 target.previous(); 331 target.previous(); 336 target.previous();
|
H A D | OldConnectionTest.java | 81 rs.previous(); 126 rs.previous(); 149 rs.previous(); 994 rs.previous(); 1020 rs.previous(); 1970 rs.previous(); 2011 rs.previous();
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
H A D | TemporalAdjusters.java | 104 * <li>finding the next or previous day-of-week, such as "next Thursday" 328 * The input 2011-12-15 for (0,TUESDAY) will return 2011-11-29 (last in previous month).<br> 336 * the last matching day-of-week in the previous month. 425 * Returns the previous day-of-week adjuster, which adjusts the date to the 438 * @return the previous day-of-week adjuster, not null 440 public static TemporalAdjuster previous(DayOfWeek dayOfWeek) { method in class:TemporalAdjusters 450 * Returns the previous-or-same day-of-week adjuster, which adjusts the date to the 464 * @return the previous-or-same day-of-week adjuster, not null
|