• Post Reply Bookmark Topic Watch Topic
  • New Topic

appending method calls  RSS feed

 
Geoff Jefferson
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Could someone help and explain/interpret the following line of code,
and how it works? It is being used as an argument in a method
call/



Thank you.

 
Rob Spoor
Sheriff
Posts: 21048
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The result of methods does not need to be put in variables. You can consider them to be equal to this:
Except you just leave out variables tmp1 and tmp2, and use their values and discard them immediately.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!