public String getFirst ( String key ) { if ( key == null ) throw new IllegalArgumentException ( "Null keys not allowed." ) ; List < String > vals = map . get ( key ) ; if ( vals == null || vals . size ( ) == 0 ) return null ; return vals . get ( 0 ) ; }
Return the first value stored for the supplied key