package ; /** * @author The Administrator * @version 1.0 * @created 26-10-2025 14:02:27 */ class Piston { /** * 材质 */ private String material; /** * 冲程(毫米) */ private double stroke; public Engine m_Engine; public Piston(){ } public void finalize() throws Throwable { } /** * * @param stroke * @param material */ public Piston(double stroke, String material){ } public String getMaterial(){ return ""; } public double getStroke(){ return 0; } /** * 活塞运动方法,引擎工作时触发 */ public void move(){ } }//end Piston