Home
last modified time | relevance | path

Searched refs:previous (Results 1 – 25 of 54) sorted by relevance

123

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DStringCharacterIteratorTest.java308 assertEquals(CharacterIterator.DONE, fixture.previous()); in test_previous()
319 assertEquals('e', fixture.previous()); in test_previous()
321 assertEquals('r', fixture.previous()); in test_previous()
323 assertEquals('u', fixture.previous()); in test_previous()
325 assertEquals('t', fixture.previous()); in test_previous()
327 assertEquals('x', fixture.previous()); in test_previous()
329 assertEquals('i', fixture.previous()); in test_previous()
331 assertEquals('f', fixture.previous()); in test_previous()
333 assertEquals(CharacterIterator.DONE, fixture.previous()); in test_previous()
338 assertEquals("Wrong previous char1", 't', it1.previous()); in test_previous()
[all …]
DCollationElementIteratorTest.java74 order = iterator.previous(); in testNext()
78 order = iterator.previous(); in testNext()
101 order = iterator.previous(); in testPrevious()
105 order = iterator.previous(); in testPrevious()
DBreakIteratorTest.java158 assertEquals(-1, iterator.previous()); in testPrevious()
160 assertEquals(-1, iterator.previous()); in testPrevious()
162 assertEquals(TEXT.length() - 1, iterator.previous()); in testPrevious()
DAttributedStringTest.java102 public char previous() { in previous() method in AttributedStringTest.testAttributedCharacterIterator
DAttributedCharacterIteratorTest.java140 assertEquals("Wrong first", 'g', it.previous()); in test_previous()
/libcore/support/src/test/java/tests/support/
DSupport_ListTest.java165 assertTrue("list iterator previous(): " + i, li.previous() == list in t_listIterator()
181 li.previous(); in t_listIterator()
197 Object previous = li.previous(); in t_listIterator() local
198 assertTrue("list iterator add(), previous(): " + previous, in t_listIterator()
199 previous == add2); in t_listIterator()
210 assertTrue("list iterator previous()2", li.previous() == list.get(1)); in t_listIterator()
211 assertTrue("list iterator previous()3", li.previous() == list.get(0)); in t_listIterator()
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DTextImpl.java162 Node previous = getPreviousSibling(); in minimize() local
163 if (previous == null || previous.getNodeType() != Node.TEXT_NODE) { in minimize()
167 TextImpl previousText = (TextImpl) previous; in minimize()
DNodeImpl.java703 UserData previous = data == null in setUserData() local
706 return previous != null ? previous.value : null; in setUserData()
/libcore/luni/src/test/java/libcore/java/util/
DOldListIteratorTest.java80 public Object previous() { in previous() method in OldListIteratorTest.Mock_ListIterator
138 l.previous(); in testPrevious()
148 assertTrue(objArray[i].equals(l.previous())); in testPrevious()
152 l.previous(); in testPrevious()
/libcore/ojluni/src/main/java/java/text/
DCollationElementIterator.java171 public int previous() in previous() method in CollationElementIterator
174 return icuIterator.previous(); in previous()
DBreakIterator.java318 public abstract int previous(); in previous() method in BreakIterator
357 pos = previous(); in preceding()
DIcuIteratorWrapper.java313 public int previous() { in previous() method in IcuIteratorWrapper
314 return wrapped.previous(); in previous()
DCharacterIterator.java156 public char previous(); in previous() method
DStringCharacterIterator.java194 public char previous() in previous() method in StringCharacterIterator
/libcore/libart/src/main/java/java/lang/
DCaseMapper.java87 char previous = s.charAt(index - 1); in isFinalSigma() local
88 …if (!(Character.isLowerCase(previous) || Character.isUpperCase(previous) || Character.isTitleCase( in isFinalSigma()
/libcore/ojluni/src/main/java/java/util/
DAbstractList.java214 if (it.previous()==null) in lastIndexOf()
218 if (o.equals(it.previous())) in lastIndexOf()
412 public E previous() { in previous() method in AbstractList.ListItr
416 E previous = get(i); in previous() local
418 return previous; in previous()
857 public E previous() { in listIterator() method
859 return i.previous(); in listIterator()
DListIterator.java109 E previous(); in previous() method
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DAbstractSequentialListTest.java91 public Object previous() { in previous() method in AbstractSequentialListTest.Mock_unsupportedListIterator
130 public E previous() { in previous() method in AbstractSequentialListTest.Mock_ListIterator
333 public Object previous() { in test_getI()
448 public Object previous() { in test_removeI()
521 public Object previous() { in test_setILjava_lang_Object()
/libcore/luni/src/main/java/libcore/util/
DBasicLruCache.java95 V previous = map.put(key, value); in put() local
97 return previous; in put()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DCopyOnWriteArrayListTest.java238 assertEquals("e", i.previous()); in testListIterator()
243 assertEquals("d", i.previous()); in testListIterator()
248 assertEquals("c", i.previous()); in testListIterator()
253 assertEquals("b", i.previous()); in testListIterator()
258 assertEquals("a", i.previous()); in testListIterator()
264 i.previous(); in testListIterator()
/libcore/ojluni/src/main/java/java/util/prefs/
DPreferences.java335 PreferencesFactory previous = factory; in setPreferencesFactory() local
337 return previous; in setPreferencesFactory()
/libcore/luni/src/test/java/libcore/java/sql/
DOldResultSetTest.java326 target.previous(); in testPrevious()
331 target.previous(); in testPrevious()
336 target.previous(); in testPrevious()
DOldConnectionTest.java81 rs.previous(); in testCreateStatement_int_int()
126 rs.previous(); in testCreateStatement_int_int()
149 rs.previous(); in testCreateStatement_int_int()
1970 rs.previous(); in testPrepareStatement_String_int_int()
2011 rs.previous(); in testPrepareStatementNotSupported()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DCopyOnWriteArrayList.java294 public E previous() { in previous() method in CopyOnWriteArrayList.COWIterator
451 public E previous() { in previous() method in CopyOnWriteArrayList.COWSubListIterator
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKTemporalAdjusters.java533 assertNotNull(TemporalAdjusters.previous(MONDAY));
538 TemporalAdjusters.previous(null);
548 LocalDate test = (LocalDate) TemporalAdjusters.previous(dow).adjustInto(date);

123