java.util.Arrays is provided by Android but it's equivalent to the version 1.5 of the standard Java APIs. You must be referring to a Java 1.6 API.
Just use System.arraycopy(), it's the most efficient way to copy arrays. On Wed, Jul 22, 2009 at 11:49 AM, Rich<[email protected]> wrote: > > Hello! > > Arrays.copyOfRange() is unavailable in Android, so I'm wondering what > the preferred method of copying arrays is. Manually over a loop, or > System.arraycopy()? > > Also, what was the reason behind the decision to not include > Arrays.* ? > > Rich > > > -- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

