void function ( ) { List < Person > loc0 = new ArrayList < > ( ) ; loc0 . add ( new Person ( "srini_string" , 34 , "srini_string" ) ) ; loc0 . add ( new Person ( "srini_string" , 35 , "srini_string" ) ) ; Observable . just ( loc0 ) . flatMap ( Observable :: from ) . subscribe ( this :: showResult , System . out :: println , ( ) -> System . out . println ( "srini_string" ) ) ; }
we emmit all items from the observable source after apply a function , in this case create a new observable of person . emitted : person name = ` pablo ' , age = 34 , sex = ` male ' person name = ` paula ' , age = 35 , sex = ` female ' concode_field_sep int count concode_elem_sep String result concode_field_sep void testFlatMapAsyncContact concode_elem_sep void flatMapCars concode_elem_sep void multiFlatMap concode_elem_sep void thirdDeepLevel concode_elem_sep void flatMapCities concode_elem_sep List<String> getCars concode_elem_sep void testFlatMapContact concode_elem_sep Observable<String> getReport concode_elem_sep void flatMapThreads concode_elem_sep void contactWords concode_elem_sep void twoDeepLevel concode_elem_sep Observable<String> saveCar concode_elem_sep void checkReport concode_elem_sep void showResult