package mineplex.game.clans.items.attributes; import java.util.HashSet; import java.util.Set; public class AttributeContainer { private Set _attributes; public Set getAttributes() { return _attributes; } public AttributeContainer(ItemAttribute... attributes) { _attributes = new HashSet(); for (ItemAttribute attribute : attributes) { _attributes.add(attribute); } } }