/* * 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; import java.util.Random; /** * * @author denis */ class FilingColumn { private int bigTank; private boolean isOrder; public FilingColumn (){ bigTank = new Random().nextInt(500); isOrder = true; } public synchronized boolean getFuel(int fuel) { if(isOrder){ if(bigTank