```
package nilpointer.net;
import java.util.ArrayList;
import java.util.List;
public class Demo {
public static void main(String[] args) {
List<Integer> numbers = new ArrayList<Integer>();
numbers.add(5);
numbers.add(2);
numbers.add(11);
numbers.add(-9);
numbers.add(7);
numbers.add(-4);
numbers.stream().filter(p -> p == 5 || p == 11).forEach(number -> {
System.out.print(number + " ");
});
}
}
```

### Output

```
5 11
```