public Resource addViewingHint ( ViewingHint first , ViewingHint ... rest ) throws IllegalArgumentException { List < ViewingHint > hints = this . viewingHints ; if ( hints == null ) { hints = new ArrayList <> ( ) ; } hints . addAll ( Lists . asList ( first , rest ) ) ; this . setViewingHints ( hints ) ; return this ; }
Add one or more viewing hints for this resource .