Closed GoogleCodeExporter closed 9 years ago
What version of Guava are you using? ArrayImmutableSet went away in January.
https://code.google.com/p/guava-libraries/source/detail?r=a072275f7ec6cd71835bae
f23020a766ba0497e6&path=/guava/src/com/google/common/collect/ImmutableSet.java
Original comment by lowas...@google.com
on 8 Aug 2013 at 10:36
I'm using 14.0.1 and it's there [1]. But not in HEAD. In HEAD it's
RegularImmutableSet [2] and it uses ImmutableCollection.toArray() which uses
copyIntoArray() which is overriden to use System.arrayCopy() [3]. So everything
is great, this issue can be closed.
[1]:
https://code.google.com/p/guava-libraries/source/browse/guava/src/com/google/com
mon/collect/ImmutableSet.java?name=v14.0.1
[2]:
https://code.google.com/p/guava-libraries/source/browse/guava/src/com/google/com
mon/collect/RegularImmutableSet.java
[3]:
https://code.google.com/p/guava-libraries/source/browse/guava/src/com/google/com
mon/collect/RegularImmutableSet.java#72
Original comment by Ash2kk@gmail.com
on 9 Aug 2013 at 3:14
Original comment by cgdecker@google.com
on 9 Aug 2013 at 3:45
This issue has been migrated to GitHub.
It can be found at https://github.com/google/guava/issues/<issue id>
Original comment by cgdecker@google.com
on 1 Nov 2014 at 4:12
Original comment by cgdecker@google.com
on 3 Nov 2014 at 9:08
Original issue reported on code.google.com by
Ash2kk@gmail.com
on 8 Aug 2013 at 3:33