Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List<List<IComponentsAction>> alternatives ...
- Set<List<IComponentsAction>> product ...
- final Builder<Set<IComponentsAction>> builder = ImmutableList.<Set<IComponentsAction>>builder();
- alternatives.forEach(pkg -> {
- builder.add(ImmutableSet.copyOf(pkg));
- });
- product = Sets.cartesianProduct(builder.build());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement