public static <T, R extends MutableByteCollection> R collectByte(
            List<T> list,
            ByteFunction<? super T> byteFunction,
            R target)
    {
        int size = list.size();
        for (int i = 0; i < size; i++)
        {
            target.add(byteFunction.byteValueOf(list.get(i)));
        }
        return target;
    }
public static < T , R extends MutableByteCollection > R collectByte ( List < T > list , ByteFunction < ? super T > byteFunction , R target ) { int size = list . size ( ) ; for ( int i = 0 ; i < size ; i ++ ) { target . add ( byteFunction . byteValueOf ( list . get ( i ) ) ) ; } return target ; }
@see Iterate#collectByte(Iterable, ByteFunction)