@ SuppressWarnings ( "unchecked" ) public < T > T set ( T newUserObject ) { T result = ( T ) userObject ; userObject = newUserObject ; return result ; }
Replace the associated user object with a new object .