public void setUsers ( final List < User > users ) { synchronized ( this . getUsers ( ) ) { if ( users != this . getUsers ( ) ) { this . getUsers ( ) . clear ( ) ; if ( users != null ) { this . getUsers ( ) . addAll ( users ) ; } } } }
Sets the modifiable list of users . This method clears the current list and adds all entries in the parameter list .