шпаргалки
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.
 
 

29 lines
758 B

/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gazstation;
/**
*
* @author denis
*/
class GazStation {
public FilingColumn column1 = new FilingColumn();
private static GazStation station;
private GazStation(){}
public static GazStation getState(){
if(station==null) station = new GazStation();
return station;
}
public void callGazProducer(FilingColumn column){
GazProducer gazProducer = new GazProducer(column);
System.out.println("Вызван бензовоз");
gazProducer.start();
}
}