Click here to Skip to main content
15,896,522 members
Home / Discussions / Java
   

Java

 
QuestionNeed a tad of help [modified] Pin
TannerB3-Nov-08 8:43
TannerB3-Nov-08 8:43 
Questionexe file Pin
sunil_jvfrm1-Nov-08 1:55
sunil_jvfrm1-Nov-08 1:55 
AnswerRe: exe file Pin
toxcct1-Nov-08 3:52
toxcct1-Nov-08 3:52 
AnswerRe: exe file Pin
jrsk1-Nov-08 23:20
jrsk1-Nov-08 23:20 
AnswerRe: exe file Pin
lixiqiang4-Nov-08 20:24
lixiqiang4-Nov-08 20:24 
Questionproject doubt Pin
ramakrishnudu31-Oct-08 8:29
ramakrishnudu31-Oct-08 8:29 
QuestionSet Represntation, please help !!!!!!!!!!!!!!!!!!!!!!!!!!!!! Pin
sudany_zool29-Oct-08 16:19
sudany_zool29-Oct-08 16:19 
AnswerRe: Set Represntation, please help !!!!!!!!!!!!!!!!!!!!!!!!!!!!! Pin
daniel_at_work2-Nov-08 22:21
daniel_at_work2-Nov-08 22:21 
There are many ways that you could represent this depending on what you are trying to do. My initial thought is a 2 element array of sets of sets e.g.

Set s1 = new Set();
s1.add(1)

Set s2 = new Set();
s2.add(2)

Set s23 = new Set();
s23.add(3)
s23.add(2)

Set left = new Set{}
left.add(s1}
left.add(s2}
left.add(s23}

/*
* Prepare Right Side now
*/

Set[] allSets = new Set[2]()

allSets[0] = left;
allSets[1] = right;


Do the Sets in L and R have to be unique. Also why are you modelling the sets what do you expect to do with them. If it is a bit more rigid and you want to perform operations on the sets you may want to use a class to model them

e.g.

public Class LeftRightSet() {

private Set<set><string> left;
private Set<set><string>> right;

// Further manipulation classes


}

Hope this helps
QuestionHow to find the coordinates of a JList item Pin
nkadivar29-Oct-08 11:50
nkadivar29-Oct-08 11:50 
QuestionCompiling Java Code Pin
Kevin Marois29-Oct-08 6:29
professionalKevin Marois29-Oct-08 6:29 
AnswerRe: Compiling Java Code Pin
nkadivar29-Oct-08 11:52
nkadivar29-Oct-08 11:52 
AnswerRe: Compiling Java Code Pin
toxcct29-Oct-08 22:31
toxcct29-Oct-08 22:31 
GeneralRe: Compiling Java Code Pin
leesoief4-Nov-08 20:28
leesoief4-Nov-08 20:28 
QuestionJava Servlets with AJAX Pin
ro88o29-Oct-08 5:22
ro88o29-Oct-08 5:22 
QuestionData access objects used in jsp and beans? [modified] Pin
pdoy070827-Oct-08 15:16
pdoy070827-Oct-08 15:16 
QuestionSingle Sign On Pin
vedabj27-Oct-08 1:18
vedabj27-Oct-08 1:18 
Question"Help" JTable problem Pin
slslooo26-Oct-08 20:54
slslooo26-Oct-08 20:54 
QuestionHelp on Search and Replace in a file using java Pin
go4rib24-Oct-08 20:21
go4rib24-Oct-08 20:21 
QuestionHow to specify character encoding in JavaMail? Pin
davilism24-Oct-08 7:26
davilism24-Oct-08 7:26 
QuestionDifferent between JRE 1.6 and JRE 1.5 Pin
utnqbao22-Oct-08 18:53
professionalutnqbao22-Oct-08 18:53 
AnswerRe: Different between JRE 1.6 and JRE 1.5 Pin
toxcct22-Oct-08 21:27
toxcct22-Oct-08 21:27 
GeneralRe: Different between JRE 1.6 and JRE 1.5 Pin
utnqbao22-Oct-08 22:23
professionalutnqbao22-Oct-08 22:23 
GeneralRe: Different between JRE 1.6 and JRE 1.5 Pin
toxcct22-Oct-08 22:33
toxcct22-Oct-08 22:33 
GeneralRe: Different between JRE 1.6 and JRE 1.5 Pin
utnqbao23-Oct-08 0:06
professionalutnqbao23-Oct-08 0:06 
GeneralRe: Different between JRE 1.6 and JRE 1.5 Pin
toxcct23-Oct-08 2:22
toxcct23-Oct-08 2:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.