public Expression < String > in ( String [ ] value ) { String listString = "" ; Boolean firstString = true ; for ( String v : value ) { if ( firstString ) { listString = listString . concat ( "('" ) . concat ( v ) . concat ( "'" ) ; firstString = false ; } else { listString = listString . concat ( ", '" ) . concat ( v ) . concat ( "'" ) ; } } listString = listString . concat ( ")" ) ; return new Expression < String > ( this , Operation . in , listString ) ; }
Method to construct the in expression for string