Searched refs:reverse (Results 1 - 13 of 13) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DStringBuffer2Test.java502 sb.reverse();
508 sb.reverse();
517 sb.reverse();
524 sb.reverse();
532 * java.lang.StringBuffer#reverse()
536 // java.lang.StringBuffer.reverse()
H A DStringBuilderTest.java1568 sb.reverse();
1573 sb.reverse();
1581 sb.reverse();
1587 sb.reverse();
1593 * java.lang.StringBuilder.reverse()
1598 assertSame(sb, sb.reverse());
1602 assertSame(sb, sb.reverse());
1606 assertSame(sb, sb.reverse());
1610 assertSame(sb, sb.reverse());
H A DLongTest.java1047 * java.lang.Long#reverse(long)
1050 assertEquals(0, Long.reverse(0));
1051 assertEquals(-1, Long.reverse(-1));
1052 assertEquals(0x8000000000000000L, Long.reverse(1));
H A DIntegerTest.java1212 * java.lang.Integer#reverse(int)
1215 assertEquals(-1, Integer.reverse(-1));
1216 assertEquals(0x80000000, Integer.reverse(1));
/libcore/luni/src/main/java/java/lang/
H A DStringBuilder.java646 public StringBuilder reverse() { method in class:StringBuilder
H A DStringBuffer.java691 public synchronized StringBuffer reverse() { method in class:StringBuffer
H A DInteger.java686 * the integer value for which to reverse the byte order.
701 * the integer value for which to reverse the bit order.
705 public static int reverse(int i) { method in class:Integer
H A DLong.java704 * the long value for which to reverse the byte order.
720 * the long value for which to reverse the bit order.
724 public static long reverse(long v) { method in class:Long
/libcore/tzdata/update/src/test/libcore/tzdata/update/
H A DConfigBundleTest.java42 // Delete files / directories in reverse order.
43 Collections.reverse(testFiles);
H A DFileUtilsTest.java46 // Delete in reverse order
47 Collections.reverse(testFiles);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DCollectionsTest.java542 // Test for method void java.util.Collections.reverse(java.util.List)
544 Collections.reverse(null);
549 Collections.reverse(ll);
553 assertEquals("Failed to reverse collection", objArray[count], i
560 Collections.reverse(myList);
561 assertEquals("Did not reverse correctly--first element is: "
563 assertNull("Did not reverse correctly--second element is: "
576 assertEquals("New comparator does not reverse sorting order", list2
1190 Collections.reverse(src);
2203 reversedLinkedList = new LinkedList(); // to be sorted in reverse orde
[all...]
/libcore/luni/src/main/java/java/util/
H A DCollections.java1717 * the list to reverse.
1722 public static void reverse(List<?> list) { method in class:Collections
1755 * the {@code Comparator} to reverse or {@code null}.
2026 reverse(sublist1);
2027 reverse(sublist2);
2028 reverse(list);
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 342 milliseconds