Toggle navigation
Home
org.apache.commons.lang3.tuple.Pair to java.util.concurrent.CompletableFuture
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'james-project'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: External -> Jdk
Mapping:
Add or Remove Method invocation
Pair.of(pair.getLeft(),new AttachmentLoader(attachmentMapper).getAttachments(pair.getRight().collect(Guavate.toImmutableList())).stream())
to
attachmentLoader.getAttachments(pair.getRight().collect(Guavate.toImmutableList())).thenApply(attachments -> Pair.of(pair.getLeft(),attachments.stream()))