(Collection<?> target, int index)
| 45 | } |
| 46 | |
| 47 | public static boolean indexIn(Collection<?> target, int index) { |
| 48 | if (target == null || isEmpty(target)) return false; |
| 49 | return index >= 0 && index < target.size(); |
| 50 | } |
| 51 | |
| 52 | /** |
| 53 | * 复制到剪切板 |
no test coverage detected