Created
September 3, 2019 05:13
-
-
Save deepakmehra10/d48d1b35f9da52b931428cea9d6701da 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
List students = Arrays.asList("Deepak", "Bhawna", "Charmy", "Vinisha"); | |
// Create a Pvector collection. | |
PVector pVector1 = TreePVector.from(students); | |
pVector1.plus("Rahul"); | |
System.out.println(pVector1); | |
// Output - [Deepak, Bhawna, Charmy, Vinisha] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment