question: public void addModel ( NavigationModel other ) { for ( Group group : other . getGroups ( ) ) { addGroup ( group ) ; } for ( View view : other . getViews ( ) ) { addView ( view ) ; } }
target:  Add another NavigationModel to this one. This is done by adding all groups and view from the other model to this one.