public void addAll ( State otherState ) { Properties diffCommonProps = new Properties ( ) ; diffCommonProps . putAll ( Maps . difference ( this . commonProperties , otherState . commonProperties ) . entriesOnlyOnRight ( ) ) ; addAll ( diffCommonProps ) ; addAll ( otherState . specProperties ) ; }
Populates this instance with properties of the other instance .