You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a=seq.map('k1', 'v1', 'k2', 'v2');
b=map(a,lambda(x) -> x.value end)
above code show the intention to convert a map to a list with only key or value, but encounter runtime error:
Caused by: java.lang.IllegalArgumentException: <JavaType, {k1=v1, k2=v2}, HashMap> is not a seq.
map variable can be considered as some kind of collection as map.entry. isn't
The text was updated successfully, but these errors were encountered:
a=seq.map('k1', 'v1', 'k2', 'v2');
b=map(a,lambda(x) -> x.value end)
above code show the intention to convert a map to a list with only key or value, but encounter runtime error:
Caused by: java.lang.IllegalArgumentException: <JavaType, {k1=v1, k2=v2}, HashMap> is not a seq.
map variable can be considered as some kind of collection as map.entry. isn't
The text was updated successfully, but these errors were encountered: