private String getLabel ( int i ) { for ( String label : labelMap . keySet ( ) ) { if ( labelMap . get ( label ) == i ) return label ; } return null ; }
Gets the label for the element at the specified index .