• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1132
  • Last Modified:

copy or convert a TreeSet to Vector

Hi,
i have a method that has to take a vector as argument. but the data that i have are currently in an TreeSet.
How can i copy or convert a TreeSet to Vector?

Thanks
0
komlaaa
Asked:
komlaaa
  • 2
1 Solution
 
koppchaCommented:
Vector(Collection c)
0
 
koppchaCommented:
a vector construtor that takes the Object of type collection and converts it to a vector
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now