question: @ SuppressWarnings ( "unchecked" ) public static < T extends FeatureStructure > List < T > toList ( FSArray array ) { if ( array == null ) { return new ArrayList < T > ( ) ; } else { return ( List < T > ) Arrays . asList ( array . toArray ( ) ) ; } }
target:  Create a new List from an FSArray