I've coded this:
this.referenceService.get(id)
.map(Reference::hashCode)
.map(Integer::toString);
I'm getting this compilation error:
Ambiguous method reference: both toString() and toString(int) from the type Integer are eligible
How could I work around this?