All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.godmonth.util.pressure.CompositeAlcohol Maven / Gradle / Ivy

There is a newer version: 1.0.2
Show newest version
package com.godmonth.util.pressure;

import java.util.List;

public class CompositeAlcohol implements Alcohol {
	private List elements;

	public void setElements(List elements) {
		this.elements = elements;
	}

	@Override
	public void begin() {
		for (Alcohol alcohol : elements) {
			alcohol.begin();
		}
	}

	@Override
	public void end() {
		for (Alcohol alcohol : elements) {
			alcohol.end();
		}
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy