I have two stream, one contains object of A, one contains object of B, they are in same length. Now I have a class called C, it contains A and B as its fields.
class C {
A a;
B b;
}
How can I merge the two stream into one stream using stream operation?