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
@seanrmurphy sorry for the late response, right now you can't obtain a map, you can however obtain a KeyValuePair list which you could convert into a map
source:=map[string]string{
// . . . Some data here in the map
}
target:=map[string]string{}
streams.From(b). {someoperationshere} .ForEach(func (iinterface{} {
x:=i.(streams.KeyValuePair)
target[x.Key.(string)] =x.Value(string)
})
Is seems straightforward to obain an array as an output of stream operations (using
ToArray()
). Is it also possible to obtain a map?The text was updated successfully, but these errors were encountered: