Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
plugins
/
stream-debugger
/
testData
/
streamex
/
src
/
mapping
/
MapToEntry.java
blob: a16d2741ccba632d5edc31e3d716f514c6aa790a [
file
]
package
mapping
;
import
one
.
util
.
streamex
.
StreamEx
;
public
class
MapToEntry
{
public
static
void
main
(
String
[]
args
)
{
// Breakpoint!
Object
[]
result
=
StreamEx
.
of
(
1
,
2
,
3
).
mapToEntry
(
x
->
x
*
x
).
toArray
();
System
.
out
.
println
(
result
.
length
);
}
}