You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
package 类间关系基础;
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 搴ф<E690B4>绫伙紙閮ㄥ垎绫伙級锛屽垎涓洪┚椹跺憳搴ф<E690B4>鍜屼箻瀹㈠骇妞咃紝灞炰簬姹借溅鐨勭粍鎴愰儴鍒?
|
|
|
* @author The Administrator
|
|
|
* @version 1.0
|
|
|
* @created 26-10月-2025 13:53:56
|
|
|
*/
|
|
|
class Seat {
|
|
|
|
|
|
private boolean isAdjustable;
|
|
|
/**
|
|
|
* 渚嬪<E6B89A>锛?椹鹃┒鍛樺骇妞?銆?涔樺<E6B694>搴ф<E690B4>"
|
|
|
*/
|
|
|
private String type;
|
|
|
public Car m_Car;
|
|
|
|
|
|
public Seat(){
|
|
|
|
|
|
}
|
|
|
|
|
|
public void finalize() throws Throwable {
|
|
|
|
|
|
}
|
|
|
/**
|
|
|
* 鏋勯€犳柟娉曪細鍒濆<E98D92>鍖栧骇妞呭睘鎬?
|
|
|
*
|
|
|
* @param type
|
|
|
* @param isAdjustable
|
|
|
*/
|
|
|
public Seat(String type, boolean isAdjustable){
|
|
|
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 鏂规硶锛氳皟鏁村骇妞呬綅缃?
|
|
|
*/
|
|
|
public void adjustPosition(){
|
|
|
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* Getter鍜孲etter鏂规硶锛堝彲閫夛級
|
|
|
*/
|
|
|
public String getType(){
|
|
|
return "";
|
|
|
}
|
|
|
|
|
|
public boolean isAdjustable(){
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
*
|
|
|
* @param adjustable
|
|
|
*/
|
|
|
public void setAdjustable(boolean adjustable){
|
|
|
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
*
|
|
|
* @param type
|
|
|
*/
|
|
|
public void setType(String type){
|
|
|
|
|
|
}
|
|
|
}//end Seat
|