view src/main/java/christie/codegear/CodeGearExecutor.java @ 7:21372a589bd3

add CodeGearExecutor
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Wed, 27 Dec 2017 18:42:46 +0900
parents 3dcfe63d6394
children ad49723367c2
line wrap: on
line source

package christie.codegear;

public class CodeGearExecutor implements Runnable {
    CodeGear cg;
    CodeGearManager cgm;

    public CodeGearExecutor(CodeGear cg, CodeGearManager cgm){
        this.cg = cg;
        this.cgm = cgm;
    }

    @Override
    public void run() {
        cg.run(cgm);
    }
}