public List < String > getLabels ( Locale locale , ScaleLevel level ) { return level . stream ( min , max ) . mapToObj ( ( d ) - > level . label ( locale , d ) ) . collect ( Collectors . toList ( ) ) ; }
Returns labels for level