Skip to content

Instantly share code, notes, and snippets.

@gabhi
Created April 5, 2014 07:13
Show Gist options
  • Save gabhi/9988442 to your computer and use it in GitHub Desktop.
Save gabhi/9988442 to your computer and use it in GitHub Desktop.
How to create ArrayList (ArrayList<T>) from array (T[])
new ArrayList<Element>(Arrays.asList(array))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment