(int index)
| 1178 | public static CharSequence repeat(String s, int times) { |
| 1179 | return new CharSequence() { |
| 1180 | @Override |
| 1181 | public char charAt(int index) { |
| 1182 | return s.charAt(index % s.length()); |
| 1183 | } |
| 1184 | |
| 1185 | @Override |
| 1186 | public int length() { |
no test coverage detected