ed47d30308588e419164d9311a41b04b8eefa04c |
|
18-Mar-2016 |
Shubham Ajmera <shubhamajmera@google.com> |
Add OpenJDK 8 java.util.List Default Methods and corresponding tests. Added replaceAll and sort methods from the upstream except for the CopyOnWriteArrayList. Added forEach method along with the above two methods in CopyOnWriteArrayList. Bug: 27693350 Bug: 27540008 (cherry-picked from commit 67b8c3f1414bf04e53c094b951c8ea7903998d90) Change-Id: Id32df836e79bee614c0dce8c61dbc7b06731265d
|
5409226c71aa1e090291f391faeb4249f5447472 |
|
16-Mar-2016 |
Przemyslaw Szczepaniak <pszczepaniak@google.com> |
Revert to android-specific CopyOnWriteArrayList Bug: 27426599 Change-Id: Ibc4682a5d296d51f94494385aa2b0149e618a98b (cherry picked from commit da61c6a1478cd1a14f3e654460292228f4f15e88)
|
e8b323c7cb7d55be9a4df579231e44f04f53d766 |
|
11-Mar-2016 |
Przemyslaw Szczepaniak <pszczepaniak@google.com> |
JSR-166 update without java 1.9 method/classes Second attempt, in frist one I've submitted some code from openJdk 1.9 that shouldn't be here, orignial change can be found at 5328e07d282bef36ac8b757bbee16a761415b2c4 Adapted from sources taken from CVS using: cvs -d ':pserver:anonymous@gee.cs.oswego.edu/home/jsr166/jsr166' checkout -D "03/03/2016 10:00:00 GMT" jsr166 This time with hidden/removed "@since 9" methods and classes Bug: 27426599 Change-Id: Ibd8d26e13cba091bfd983c73d005e4f8d8f5946d (cherry picked from commit b8b75116273ecfdb8ffdd1869b1c0dd04570a95e)
|
3984cdba314a0f7b0587000dec99ff26fd9bcbb5 |
|
02-Mar-2016 |
Narayan Kamath <narayan@google.com> |
Add Iterator.forEachRemaining / Iterator.remove. Also pulls in various specializations from concrete subclasses. bug: 27426688 (cherry picked from commit e633814ad4dc6c7dc0c34080292c2c9622cbd5a3) Change-Id: Ic778fb61768ec2495e1ac17029afbdfd97d5e6db
|
e633814ad4dc6c7dc0c34080292c2c9622cbd5a3 |
|
02-Mar-2016 |
Narayan Kamath <narayan@google.com> |
Add Iterator.forEachRemaining / Iterator.remove. Also pulls in various specializations from concrete subclasses. bug: 27426688 Change-Id: I4d37bb61973447b5621fc2b389a04d40666a941d
|
6186821cb13f4ac7ff50950c813394367e021eae |
|
08-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Move libcore.base classes to libcore.util and libcore.io. Change-Id: I2340a9dbad3561fa681a8ab47d4f406e72c913e3
|
803e7dbaa65a62ec77596d5ebb7218a21c4cbfaf |
|
05-Jan-2011 |
Jesse Wilson <jessewilson@google.com> |
Fix serialization in CopyOnWriteArrayList. Previously we were double-serializing the elements field. The behavior was correct but the serialized data was larger than necessary. This also addresses martinrb's other comments on the new CopyOnWriteArrayList. Change-Id: I191e84793301e81b89718330d897bdf990c8daa6
|
a57abd43935b5d1ee8e226ceb0c8f3c3c9da8f59 |
|
14-Dec-2010 |
Jesse Wilson <jessewilson@google.com> |
Fix two {@link} problems in CopyOnWriteArrayList. One @link was supposed to point to lastIndexOf; that was a typo. DroidDoc is choking on the #indexOf(Object,int) overload; I'll drop the method list which should make it happy. Change-Id: I79cc3548d628ad3380b9f3d0d7c03f606a3c8801
|
3ce783438eccf18d0ad538d911585043b5d1b2b4 |
|
11-Dec-2010 |
Jesse Wilson <jessewilson@google.com> |
Rewrite CopyOnWriteArrayList from scratch. The previous implementation has many structural problems motivating this rewrite. In particular, changes to sublists behaved quite inconsistently with the RI. This passes the tests in the Google Collections test suite. Change-Id: I49c4a50659ef1f35dbff4abdd596d7fda815bcfe http://b/3270784
|
fcd6cf989712aabe2826655df490d73e2240fb21 |
|
10-Dec-2010 |
Jesse Wilson <jessewilson@google.com> |
Fix various issues in CopyOnWriteArrayList discovered by Google Collections' test suite: Fixed CopyOnWriteArrayList problems: - addAll() doesn't return true if the collection is empty - clear() fails on an empty list - containsAll() doesn't return true if the collection is empty - subList() fails on an empty range - subList() doesn't implement equals(), hashCode() or toString() Fixed CopyOnWriteArraySet problems: - addAll() adds duplicates if the added collection contains duplicates - equals() throws NullPointerException if this is empty The following issues aren't fixed: - the iterator throws UnsupportedOperationException when it should throw IllegalStateException - sublists don't reflect non-structural changes in the underlying list http://b/3270784 Change-Id: I8c174e4ceda1ff964e2ad8224fa7338dac552288
|
aeeaa64fb691606d39bd24305001a4f4c71acdc3 |
|
30-Oct-2010 |
Dan Bornstein <danfuzz@android.com> |
Replace the implementation of this class. Use the Apache Harmony version. Change-Id: I5b9d6fac10dcaf20e16fccb73cfc2ae7110a683d
|
7365de1056414750d0a7d1fdd26025fd247f0d04 |
|
12-Aug-2010 |
Jesse Wilson <jessewilson@google.com> |
Sorting imports. Change-Id: I8347bc625480a1c37a1ed9976193ddfedeb00bbc
|
cec4dd4b1d33f78997603d0f89c0d0e56e64dbcd |
|
26-Apr-2010 |
Peter Hallam <peterhal@google.com> |
merge more modules into luni
|