public Set < Label > getLabels ( ) { Set < Label > r = new TreeSet <> ( ) ; for ( Label l : labels . values ( ) ) { if ( ! l . isEmpty ( ) ) r . add ( l ) ; } return r ; }
Gets all the active labels in the current system .