Open
Description
Primitives' utility classes such as Bytes
have methods like
indexOf(byte[] array, byte target)
indexOf(byte[] array, byte[] target)
lastIndexOf(byte[] array, byte target)
for working with arrays of those primitives.
Unfortunately the indexOf
and lastIndexOf
aren't symmetric in this case as there isn't a method like lastIndexOf(byte[] array, byte[] target)
, taking an array as target in the lastIndexOf
case. Hereby I propose that such method be added to Bytes
and other analogous primitives' utility classes.
Activity