/* * 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(); } }