IMAGES

  1. Assignment Operators

    java assignment operators

  2. Java Assignment operators

    java assignment operators

  3. Assignment Operators in Java

    java assignment operators

  4. Java Assignment Operators

    java assignment operators

  5. Java Assignment Operators

    java assignment operators

  6. Java: Assignment Operators

    java assignment operators

COMMENTS

  1. Java Operators : |= bitwise OR and assign example [duplicate]

    I presume matches is a boolean; this means that the bitwise operators behave the same as logical operators. On each iteration of the loop, it ORs the current value of matches with whatever is returned from field.contains(). This has the effect of setting it to true if it was already true, or if field.contains() returns true.