Possible duplicate:Java statements: |= bitwise OR and assignexample
|= bitwise OR and assign
which means | = mean in Java?
For example below:
note.flags | = Notification.FLAG_AUTO_CANCEL
thank
Always go first: http://docs.oracle.com/javase/tutorial/java/nutsandbolts/operators.html .
This is a bitwise or assignment operator.
This is the same as:
note.flags = note.flags | Notification.FLAG_AUTO_CANCEL;