/* * 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 gazstation2; /** * * @author denis */ class GazStation { public FilingColumn column1 = new FilingColumn(); private static GazStation station = new GazStation(); private GazStation(){} public static GazStation getState(){ return station; } public void callGazProducer(FilingColumn column){ GazProducer gazProducer = new GazProducer(column); System.out.println("Вызван бензовоз"); gazProducer.start(); } }