public < E > Collection < E > unmodifiable ( Collection < E > input ) { if ( input == null ) { return null ; } return Collections . unmodifiableCollection ( input ) ; }
Returns an unmodifiable view of the specified collection .