Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
plugins
/
stream-debugger
/
testData
/
debug
/
src
/
DistinctSame.java
blob: 6124e7da1703786b2dcd603fa16f0d10a7497a04 [
file
]
import
java
.
util
.
stream
.
Stream
;
public
class
DistinctSame
{
public
static
void
main
(
String
[]
args
)
{
final
Object
obj
=
new
Object
();
// Breakpoint!
final
long
res
=
Stream
.
of
(
obj
,
obj
,
obj
).
distinct
().
count
();
}
}