This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes how to find a matching set between multiple variables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to find a matching set between multiple variables" Watch "how to find a matching set between multiple variables" New topic
Author

how to find a matching set between multiple variables

Ben Hultin
Ranch Hand

Joined: Aug 17, 2009
Posts: 135
I am writing a program and I am looking to run a test to check between variables to find a set of numbers that are the same amongst 6 variables. I have not been able to find anything on this topic so far, does anyone have any ideas?

I appreciate the help
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

I have not been able to find anything on this topic so far

It's not something you're supposed to look for, but something you're supposed to think by yourself. What do you have so far ?


[My Blog]
All roads lead to JavaRanch
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11161
    
  16

the best way to approach problems like this is to (at first) forget about Java. How would you, personally, on paper, do it? Be specific. come up with a set of instructions you could hand to someone else and say "follow these steps" and they'd get the same result.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to find a matching set between multiple variables
 
Similar Threads
Handling java.sql.Timestamp
JAVA_HOME ,CLASSPATH ,& PATH
Threads share the memory space
Tomcat installation
problem with tomcat