Java Operators : |= bitwise OR and assign example
I just going through code someone has written and I saw usage, looking up on Java operators, it suggests bitwise or and assign operation, can anyone explain and give me an example of it?|=
Here is the code that read it:
for (String search : textSearch.getValue())
matches |= field.contains(search);