public HistogramDataPointCodec getCodec ( final int id ) { final HistogramDataPointCodec codec = codecs . get ( id ) ; if ( codec == null ) { throw new IllegalArgumentException ( "No codec found mapped to ID " + id ) ; } return codec ; }
Return the instance of the given codec .