Lets say I have two observable streams
Observable<Book> books;
Observable<Movie> movies;
How can I join these on when they have an attribute that matches? Something like the psudo code below:
Observable<BookMoviePair> pairs = books.join(movies)
.where((book, movie) -> book.getId() == movie.getId()))
.return((book, movie) -> new BookMoviePair(book, movie));