Combine two Futures into one, without changing value type?
2,590 views
Skip to first unread message
googl...@schildbach.de
unread,
May 8, 2016, 6:24:25 AM5/8/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to guava-discuss
I have two futures with the same value T which I want to combine into one. Futures.allAsList() seems to do what I want but it changes the value of the combined future from T to List<T>. Is there something similar that doesn't change the value type?