Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   working with ARRAYS and THREADS (http://www.go4expert.com/forums/arrays-threads-t7930/)

WEIRD 19Dec2007 19:06

working with ARRAYS and THREADS
 
hello,hw r u?
im currently working on a program but have come up with an issue that i cant sort because i dont have the exact knowledge as to how to solve it.

im creating a program which has an array with random integers.these integers have to be picked out using a thread.its this bit that i dont know.

i can create the two arrays 1 and 2 with numbers from 0...100
using these arrays:

im to:

"thread 1"object finds all the integers in the range 70...80 in array1 and sends it to "thread3"object

"thread 2" object finds all the integers in the range 70...80 in array2 and sends it to "thread3" object


so my query here is "how can a thread pick out integers from an array?"

i will really appreciate it if someone would help me out here with their kind knowledge.
thank u
nice day!

WEIRD 28Dec2007 04:02

Re: working with ARRAYS and THREADS
 
No Response Yet! :(

akbaraliakbar 15Jan2008 13:54

Re: working with ARRAYS and THREADS
 
:surprised
Quote:

Originally Posted by WEIRD
hello,hw r u?
im currently working on a program but have come up with an issue that i cant sort because i dont have the exact knowledge as to how to solve it.

im creating a program which has an array with random integers.these integers have to be picked out using a thread.its this bit that i dont know.

i can create the two arrays 1 and 2 with numbers from 0...100
using these arrays:

im to:

"thread 1"object finds all the integers in the range 70...80 in array1 and sends it to "thread3"object

"thread 2" object finds all the integers in the range 70...80 in array2 and sends it to "thread3" object


so my query here is "how can a thread pick out integers from an array?"

i will really appreciate it if someone would help me out here with their kind knowledge.
thank u
nice day!



All times are GMT +5.5. The time now is 17:49.