Java Utililty Methods Bitwise Or

List of utility methods to do Bitwise Or

Description

The list of methods to do Bitwise Or are organized into topic(s).

Method

BytebitOr(Byte a, Byte b)
bit Or
if (a == null || b == null) {
    if (a == null) {
        a = 0;
    if (b == null) {
        b = 0;
return (byte) (a | b);
byte[]bitwiseOrByteArrays(byte[] arr0, byte[] arr1)
bitwise Or Byte Arrays
byte[] returnArray = new byte[arr0.length];
for (int i = 0; i < arr0.length; i++) {
    returnArray[i] = (byte) (arr0[i] | arr1[i]);
return returnArray;