Package at.jku.ssw.fp.sect10_4
Class Demo1_FlatMap
- java.lang.Object
-
- at.jku.ssw.fp.sect10_4.Demo1_FlatMap
-
public class Demo1_FlatMap extends Object
Demo shows flatMap operations.- Author:
- Herbert Praehofer
-
-
Constructor Summary
Constructors Constructor Description Demo1_FlatMap()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static Observable<Flight>
getFlightObservable(Airline airline, String from, String to, LocalDate date)
(package private) static Observable<Flight>
getFlightObservableSync(Airline airline, String from, String to, LocalDate date)
(package private) static Observable<Flight>
getFlightsObservable(Airline airline, String from, String to, LocalDate date)
static void
main(String[] args)
-
-
-
Method Detail
-
getFlightObservable
static Observable<Flight> getFlightObservable(Airline airline, String from, String to, LocalDate date)
-
getFlightsObservable
static Observable<Flight> getFlightsObservable(Airline airline, String from, String to, LocalDate date)
-
getFlightObservableSync
static Observable<Flight> getFlightObservableSync(Airline airline, String from, String to, LocalDate date)
-
main
public static void main(String[] args) throws InterruptedException
- Throws:
InterruptedException
-
-