Returning all possible combinations of values!!!

Hi buddies,

Can u suggest me a method that can return all possible combination of values from a set of values and place it in a txt file?. Anyway i only need the method returning all possible combinations!

For example:

A = {2.0,3.5,6.7,8.9,9.9,10.0}

one of the combination can be: 2.0,6.7,3.5,8.9,9.9,10.0;

Please help.

Regards

[384 byte] By [Pharaosa] at [2007-10-2 12:47:12]
# 1
See [url= http://forum.java.sun.com/thread.jspa?messageID=4110109]this thread[/url].
tschodta at 2007-7-13 9:56:54 > top of Java-index,Other Topics,Algorithms...
# 2
[url http://forum.java.sun.com/thread.jspa?threadID=710030&messageID=4110096#4110096]Don't cross post (answers in the other thread)[/url].
jfbrierea at 2007-7-13 9:56:54 > top of Java-index,Other Topics,Algorithms...