Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
plugins
/
stream-debugger
/
testData
/
streamex
/
src
/
mapping
/
MapToKey.java
blob: 7e31f4417e19bf4b6d027761e3890cf1b7229241 [
file
]
package
mapping
;
import
one
.
util
.
streamex
.
EntryStream
;
public
class
MapToKey
{
public
static
void
main
(
String
[]
args
)
{
// Breakpoint!
EntryStream
.
of
(
1
,
1
,
2
,
4
,
3
,
9
)
.
mapToKey
((
k
,
v
)
->
k
+
v
)
.
forEach
(
x
->
{});
}
}