Created
February 4, 2020 21:29
-
-
Save Josebuendia/b7aafb675e60f2c689adf1513c335bae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ArrayList <String> coloursArrayList2 = new ArrayList<String>(3); | |
List<String> destList = coloursArrayList2<String>(Arrays.asList(new String[coloursArrayList.size()])); | |
Collections.copy(coloursArrayList2, coloursArrayList); | |
System.out.println(coloursArrayList2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment