Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ArrayList does not print to terminal window after if statement inclusion, help?

 
Imad Ali
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator




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
Marshal
Pie
Posts: 21506
84
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Imad Ali
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic