Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java list to collections

//List <T> already implements Collection<T>
//why would you need to create a new one ? 
Collection<T> collection = myList;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #list #collections
ADD COMMENT
Topic
Name
1+7 =