Possible Duplicate:
Java Operators :|= bitwise OR and assignexample
boolean bAlive;
bAlive |= this.properties.containsKey(name);
In the above , the code uses '|'. 
Why using '|' ?
Thanks in advance.
Possible Duplicate:
Java Operators :|= bitwise OR and assignexample
boolean bAlive;
bAlive |= this.properties.containsKey(name);
In the above , the code uses '|'. 
Why using '|' ?
Thanks in advance.
The boolean is being OR'ed with the value on the right.
If this.properties.containsKey(name) is TRUE, then bAlive is set to TRUE.
Otherwise, bAlive remains the same.
