update at 2022-02-25 10:03:38 by ehlxr

This commit is contained in:
ehlxr 2022-02-25 10:03:38 +08:00
parent d8f8551f62
commit 3f420a6e55

View File

@ -17,8 +17,7 @@ pub extern "system" fn Java_me_ehlxr_HelloWorld_getFiled(
.unwrap(), .unwrap(),
) )
.unwrap(); .unwrap();
let jlist_iter = jlist.iter().unwrap(); jlist.iter().unwrap().into_iter().for_each(|jobj| {
jlist_iter.into_iter().for_each(|jobj| {
let jstr: JString = jobj.into(); let jstr: JString = jobj.into();
println!( println!(
"get list filed: {}", "get list filed: {}",