src/main/java/org/jsoup/nodes/Attributes.java
public void put(Attribute attribute) {
        Validate.notNull(attribute);
        if (attributes == null)
             attributes = new LinkedHashMap<String, Attribute>(2);
        attributes.put(attribute.getKey(), attribute);
    }
/**
     Set a new attribute, or replace an existing one by key.
     @param attribute attribute
     */
Set a new attribute, or replace an existing one by key.
Set a new attribute or replace an existing one by key .
public void put(Attribute attribute) {
        Validate.notNull(attribute);
        if (attributes == null)
             attributes = new LinkedHashMap<String, Attribute>(2);
        attributes.put(attribute.getKey(), attribute);
    }
public void put ( Attribute attribute ) { Validate . notNull ( attribute ) ; if ( attributes == null ) attributes = new LinkedHashMap < String , Attribute > ( 2 ) ; attributes . put ( attribute . getKey ( ) , attribute ) ; }
Set a new attribute, or replace an existing one by key.
Set a new attribute or replace an existing one by key .