public List < String > asLabels ( ) { List < String > labels = new ArrayList <> ( ) ; for ( T element : getElements ( ) ) { labels . add ( element . getLabel ( ) ) ; } return labels ; }
Returns this sequence as list of labels