Repeat string N times without loop in Java