192 to actually be an OopHandle. Performs a logical "and" operation 193 of the bits of the address and the mask (least significant bits 194 of the Address and the mask are aligned) and returns the result 195 as an Address. Returns null if the result was zero. */ 196 public Address andWithMask(long mask) throws UnsupportedOperationException; 197 198 /** This throws an UnsupportedOperationException if this address happens 199 to actually be an OopHandle. Performs a logical "or" operation 200 of the bits of the address and the mask (least significant bits 201 of the Address and the mask are aligned) and returns the result 202 as an Address. Returns null if the result was zero. */ 203 public Address orWithMask(long mask) throws UnsupportedOperationException; 204 205 /** This throws an UnsupportedOperationException if this address happens 206 to actually be an OopHandle. Performs a logical "exclusive or" 207 operation of the bits of the address and the mask (least 208 significant bits of the Address and the mask are aligned) and 209 returns the result as an Address. Returns null if the result was 210 zero. */ 211 public Address xorWithMask(long mask) throws UnsupportedOperationException; 212 } | 192 to actually be an OopHandle. Performs a logical "and" operation 193 of the bits of the address and the mask (least significant bits 194 of the Address and the mask are aligned) and returns the result 195 as an Address. Returns null if the result was zero. */ 196 public Address andWithMask(long mask) throws UnsupportedOperationException; 197 198 /** This throws an UnsupportedOperationException if this address happens 199 to actually be an OopHandle. Performs a logical "or" operation 200 of the bits of the address and the mask (least significant bits 201 of the Address and the mask are aligned) and returns the result 202 as an Address. Returns null if the result was zero. */ 203 public Address orWithMask(long mask) throws UnsupportedOperationException; 204 205 /** This throws an UnsupportedOperationException if this address happens 206 to actually be an OopHandle. Performs a logical "exclusive or" 207 operation of the bits of the address and the mask (least 208 significant bits of the Address and the mask are aligned) and 209 returns the result as an Address. Returns null if the result was 210 zero. */ 211 public Address xorWithMask(long mask) throws UnsupportedOperationException; 212 213 // return address as long integer. 214 public long asLongValue(); 215 } |