@Override
   public void setParameter(double value,int index){
        Compound component = substance.getVapor().getComponent();
        Alpha alpha = substance.getVapor().getAlpha();
        alpha.setParameter(value, component, index);
   }
@ Override public void setParameter ( double value , int index ) { Compound component = substance . getVapor ( ) . getComponent ( ) ; Alpha alpha = substance . getVapor ( ) . getAlpha ( ) ; alpha . setParameter ( value , component , index ) ; }
to class function