class TankSimulation extends Tank {

    public void putIn(Liquid input) {
        LinkedList<Liquid> liquids = new LinkedList<>();
        liquids.add(this.getLiquid());
        liquids.add(input);
        this.setLiquid(mixingStrategy.mixLiquids(liquids));
    }

    public  TankSimulation(float capacity, TankSelector tankSelector, Liquid liquid, Pipe outPipe, Pipe inPipe);

}