Create a deep copy of 'l'. The elements of the returned list are of the same type as the input list.
(List<C> l)
| 1278 | * type as the input list. |
| 1279 | */ |
| 1280 | public static <C extends Expr> List<C> cloneList(List<C> l) { |
| 1281 | Preconditions.checkNotNull(l); |
| 1282 | List<C> result = new ArrayList<>(l.size()); |
| 1283 | for (Expr element: l) { |
| 1284 | result.add((C) element.clone()); |
| 1285 | } |
| 1286 | return result; |
| 1287 | } |
| 1288 | |
| 1289 | /** |
| 1290 | * Create a deep copy of 'ls'. The elements of the returned list are of the same |
no test coverage detected