@SuppressWarnings("unchecked") public static E get(List list, int offset) { E array = (E) list.toArray(); return array[offset]; } なんでpublic static E get(List list, int offset)じゃだめなんですか?
↧