public void setProbability ( int i , double v ) { if ( TopicDistribution_Type . featOkTst && ( ( TopicDistribution_Type ) jcasType ) . casFeat_probability == null ) jcasType . jcas . throwFeatMissing ( "probability" , "ch.epfl.bbp.uima.types.TopicDistribution" ) ; jcasType . jcas . checkArrayBounds ( jcasType . ll_cas . ll_getRefValue ( addr , ( ( TopicDistribution_Type ) jcasType ) . casFeatCode_probability ) , i ) ; jcasType . ll_cas . ll_setDoubleArrayValue ( jcasType . ll_cas . ll_getRefValue ( addr , ( ( TopicDistribution_Type ) jcasType ) . casFeatCode_probability ) , i , v ) ; }
indexed setter for probability - sets an indexed value -