@Override
public <R extends MutableByteCollection> R collectByte(final ByteFunction<? super T> byteFunction, final R target)
{
if (target instanceof MutableByteBag)
{
final MutableByteBag targetBag = (MutableByteBag) target;
this.forEachWithOccurrences(new ObjectIntProcedure<T>()
{
public void value(T each, int occurrences)
{
targetBag.addOccurrences(byteFunction.byteValueOf(each), occurrences);
}
});
}
else
{