(TimeSpan<U> timespan)
| 3080 | |
| 3081 | // wildcard capture |
| 3082 | private static <U> boolean isEmpty(TimeSpan<U> timespan) { |
| 3083 | |
| 3084 | List<Item<U>> items = timespan.getTotalLength(); |
| 3085 | |
| 3086 | for (int i = 0, n = items.size(); i < n; i++) { |
| 3087 | if (items.get(i).getAmount() > 0) { |
| 3088 | return false; |
| 3089 | } |
| 3090 | } |
| 3091 | |
| 3092 | return true; |
| 3093 | |
| 3094 | } |
| 3095 | |
| 3096 | private static <U extends IsoUnit> Duration<U> create( |
| 3097 | Map<U, Long> map, |
no test coverage detected