static < T extends IdentifiableAnnotation > Span < T > list2Span ( List < T > list ) { Span < T > span = new Span < T > ( ) ; for ( T elem : list ) { span . addTarget ( elem ) ; } return span ; }
Converts a List into a Span