| | |
java problem
![]() |
•
•
Join Date: Oct 2008
Posts: 1
Reputation:
Solved Threads: 0
i really need help on this, i need code for this project, please help me, thanks in advance..
(Power Set) Given an input set with entries separated by commas, output all the possible sets that can be generated from this set.
Sets are described in the file power.txt
The lines consist of a comma-separated non-repeating list of entries which will become the elements of the set. Output is to the Text Area GUI component as shown by the sample dialog. The number of elements in a set is undefined.
Sample Dialog
power.txt
mario,luigi,princess
1,2,3,4
jess
JTextArea Output
Powerset of set {mario,luigi,princess} is
{null},{mario},{luigi},{princes},{mari...
Powerset of set {1,2,3,4} is
{null},{1},{2},{3},{4},{1,2},{1,3},{1,...
Powerset of set {jess} is
{null},{jess}
(Power Set) Given an input set with entries separated by commas, output all the possible sets that can be generated from this set.
Sets are described in the file power.txt
The lines consist of a comma-separated non-repeating list of entries which will become the elements of the set. Output is to the Text Area GUI component as shown by the sample dialog. The number of elements in a set is undefined.
Sample Dialog
power.txt
mario,luigi,princess
1,2,3,4
jess
JTextArea Output
Powerset of set {mario,luigi,princess} is
{null},{mario},{luigi},{princes},{mari...
Powerset of set {1,2,3,4} is
{null},{1},{2},{3},{4},{1,2},{1,3},{1,...
Powerset of set {jess} is
{null},{jess}
![]() |
Similar Threads
- Front-end Java Software Engineer for Digital Video/Media Market Leader - Los Angeles (Software Development Job Offers)
- Front-end Java Software Engineer for Digital Video/Media Market Leader (Software Development Job Offers)
- Java Problem with running program (Java)
- Java problem in IE (Web Browsers)
- String Class Of Java (Java)
- Ginormous Problem With XP (Windows NT / 2000 / XP)
- Problem with JAVA and XP & a few missing choices. *bangs head on desk* (Web Browsers)
Other Threads in the Java Forum
- Previous Thread: Hi .Facing problem while displaying LinkedList (API) element using Iterator
- Next Thread: Comparing Files by hash code.
| Thread Tools | Search this Thread |
-xlint add android api applet application applications array arrays automation bank bi binary blackberry bluetooth chat class client code compile compiler component database development digit eclipse equation error event fractal freeze functiontesting game gameprogramming givemetehcodez graphics gui health html hyper ide idea image infinite input int integer j2me java javame javaprojects jetbrains jni jpanel jtable julia learningresources linux list login loop main map method methods mobile myregfun netbeans newbie nonstatic notdisplaying pearl problem program programming project qt recursion scanner screen scrollbar server set sms sort sorting spamblocker sql sqlserver string superclass swing system text-file thread threads tree variablebinding windows xor






