In someVector I have byte[] elements stored. I retrieve them and I try to compare them with hashByte. But equals method does not work as expected. Is there a
more convenient mode, rather then writing my own iteration and compare byte by byte .. ?

I am computing hashes and then comparing bytes. Converting to String would be too CPU intensive since I am computing millions of hashes.
Its pretty obvious that the method I wrote below works but I thought java has some kind of support for comparing simple structures.