I want to implement a function such like:

```
Stream<Long> stream;
stream.forEach(id->{
    Object obj = loadObj(id);
    doSomething(id, obj);
});

```

Can I implement it using method references such as when `doSomething` only requires one parameter

```
Stream<Long> stream;
stream.map(this::loadObj).forEach(this::doSomething)

```