Nevím, jak to pojmenovat, ale oporu pro toto chování najdete v Java
Language Specification, sekce 15.26 Assignment Operators:

   http://java.sun.com/docs/books/jls/third_edition/html/expressions.html#5281

konkrétně ve větě

  "At run time, the result of the assignment expression is the value
of the variable
   after the assignment has occurred."

Pavel

2009/3/30 David Vana <[email protected]>:
> Zdravim konferenci,
>
> Naledujici funkcnost neumim spravne pojmenovat - pracovne jsem si to nazval 
> "prirazeni jako argument".
>
> 01: int i = 5;
>
> 02: System.out.println(i = i + 5);
>
> Potreboval bych pojmenovat skutecnost, ze ono prirazeni (i = ...) funguje 
> stejne, jako kdybych metode println() predal promennou i po vyhodnoceni i + 5 
> nasledovne:
>
> 01: int i = 5;
>
> 02: i = i + 5;
>
> 03: System.out.println(i);
>
> Navic bych potreboval nejaky oficialni (nejlepe online) zdroj, kde se da 
> docist, ze to funguje a proc to tak funguje.
>
> PS: Nejde mi o princip pass-by-value.
>
> David
>
>
>
>
>
> ______________________________________________________
> The information contained in this communication is intended solely for the 
> use of the individual or entity to whom it is addressed and others authorized 
> to receive it. It may contain confidential or legally privileged information. 
> If you are not the intended recipient you are hereby notified that any 
> disclosure, copying, distribution or taking any action in reliance on the 
> contents of this information is strictly prohibited and may be unlawful. If 
> you have received this communication in error, please notify us immediately 
> by forwarding this email to [email protected] and then delete it from your 
> system.
>
> Ness Technologies is neither liable for the proper and complete transmission 
> of the information contained in this communication nor for any delay in its 
> receipt.
>

Odpovedet emailem