Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- delete = delete.stream().filter(new Message(){
- @Override
- returnType theMethodYouAreCalling(Message m){ //replace "theMethodYouAreCalling" with the method you are calling
- return m.getRawContent().toLowerCase().contains(message.toLowerCase());
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement