How to convert List to Set

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ashi1290
    New Member
    • Feb 2008
    • 6

    How to convert List to Set

    How can we convert List to Set
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by ashi1290
    How can we convert List to Set
    Did you read the API documentation for the several implementing classes of the
    Set interface? You can feed a Collection to the constructor. A List is a Collection.
    It can't be easier.

    kind regards,

    Jos

    Comment

    Working...