public AttributeSource(AttributeFactory factory) {this.attributes = new LinkedHashMap<>();this.attributeImpls = new LinkedHashMap<>();this.currentState = new State[1];this.factory = Objects.requireNonNull(factory, "AttributeFactory must not be null");}

public AttributeSource(AttributeFactory factory){this.attributes = new JCG.LinkedDictionary<Type, Util.Attribute>();this.attributeImpls = new JCG.LinkedDictionary<Type, Util.Attribute>();this.currentState = new State[1];this.factory = factory;}
