summaryrefslogtreecommitdiff
path: root/jsr166-tests/src/test/java/jsr166/AtomicReferenceArrayTest.java
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2016-03-04 13:11:23 +0000
committerNarayan Kamath <narayan@google.com>2016-03-10 16:57:39 +0000
commit4c89023ef86f29fa9add7db2574f2169fe842577 (patch)
treec03fe5d599a8c53fe31f9a9614b88931beacaf90 /jsr166-tests/src/test/java/jsr166/AtomicReferenceArrayTest.java
parentc9667762ecf9b1cada535d51e4c7a6c1e87e021f (diff)
Add java.lang.Iterable.spliterator() and supporting classes.
The only android specific changes here are to HashMap - their spliterators add Spliterator.ORDERED if the HashMap is an instance of a LinkedHashMap. There's some degree of duplication between the test code used to exercise primitive arrays (Arrays / Spliterators provide similar APIs). These differences are quite hard to consolidate, since the Arrays version declares that their Spliterators are ORDERED but the Spliterator version doesn't. The latter also allows us to declare additional Spliterator characteristics. (cherry-picked from commit ed21aa3a8dcd34eca6f0317eeb683e7afdc825b9) bug: 27426688 Change-Id: I191a9319d4af7e22834f2d91f73634a227b36bc2
Diffstat (limited to 'jsr166-tests/src/test/java/jsr166/AtomicReferenceArrayTest.java')
0 files changed, 0 insertions, 0 deletions