| Author |
ArrayList does not print to terminal window after if statement inclusion, help?
|
Imad Ali
Greenhorn
Joined: Jan 04, 2009
Posts: 21
|
|
Above is the much editied code, finally i got the files to print to the terminal window, then i added the much need if statment and nothing to the window again
can some one complie it or till me what the problem is?
|
 |
Henry Wong
author
Sheriff
Joined: Sep 28, 2004
Posts: 16690
|
|
can some one complie it or till me what the problem is?
Can you give more detail than just "I added "if" and it doesn't work"? Which "if" are you talking about?
You have to show a bit more effort than just provide a code dump, and a "adding an if" and it doesn't work.
Henry
|
Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
|
 |
Imad Ali
Greenhorn
Joined: Jan 04, 2009
Posts: 21
|
|
Ohh ok, no problem,
well the "if" statement on Lines 50/51
after adding that if statment I got nothing to the terminal window, would it should do is compute the files that make up the two ArrayLists
it should essentially filet out files that are equal in size, but different in hash code value
its like its filtered out everything
or maybe im referecing the arraylist items wrong or theres nothing in the array lists i dont know whats gone wrong, as it all compiles
|
 |
Imad Ali
Greenhorn
Joined: Jan 04, 2009
Posts: 21
|
|
it does print with if statement sorry i got another class mixed up
this is the output (some of it)
$R3QSQ3M
here we are---$R49HV83.txt
$Recycle.Bin
here we are---autoexec.bat
dollar sign + numbers?
|
 |
 |
|
|
subject: ArrayList does not print to terminal window after if statement inclusion, help?
|
|
|