public Characters remove ( Characters other ) { checkArgNotNull ( other , "other" ) ; if ( ! subtractive && ! other . subtractive ) { return removeFromChars ( other . chars ) ; } if ( subtractive && other . subtractive ) { return new Characters ( false , other . removeFromChars ( chars ) . chars ) ; } return subtractive ? addToChars ( other . chars ) : retainAllChars ( other . chars ) ; }
Returns a new Characters object containing all the characters of this instance minus all characters of the given instance .