This is what the API docs have to say about theq equals method in the Long class.
Compares this object to the specified object. The result is true if and only if the argument is not null and is a Long object that contains the same long value as this object In your case, you are invoking the equals method of the Long class but the parameter that is passed is a Byte object. So irrespective of the value that is wrapped, the method will return false.
Arvind