public void read ( AttributeSet other ) { for ( Iterator < Attribute < ? > > iterator = attributes . values ( ) . iterator ( ) ; iterator . hasNext ( ) ; ) { Attribute < Object > attribute = ( Attribute < Object > ) iterator . next ( ) ; Attribute < Object > a = other . attribute ( attribute . name ( ) ) ; if ( a . isModified ( ) ) { attribute . read ( a ) ; } } }
Copies all attribute from another AttributeSet