Created
July 7, 2017 00:01
-
-
Save ezura/ba9279b9e2b5cafa26d725c415d7ca5d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static final void f() { | |
Integer v = Integer.valueOf(300); | |
Integer v2 = Integer.valueOf(300); | |
boolean var10000; | |
if(v == v2) { | |
var10000 = true; | |
} else { | |
var10000 = false; | |
} | |
} | |
public static final void _f() { | |
int v = 300; | |
int v2 = 300; | |
boolean var10000; | |
if(v == v2) { | |
var10000 = true; | |
} else { | |
var10000 = false; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun f() { | |
val v: Int? = 300 | |
val v2: Int? = 300 | |
v === v2 | |
// false | |
} | |
fun _f() { | |
val v: Int = 300 | |
val v2: Int = 300 | |
v === v2 | |
// true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment