Please enable JavaScript.
Coggle requires JavaScript to display documents.
Useful Commands - Coggle Diagram
Useful Commands
String
-
Format string to time
String.format("%02d:%02d:%02d", hour, min, sec)
-
-
-
-
Get substring
str.substring(0, temp.length()-1);
-
-
-
-
-
-
-
-
-
-
-
-
-
Operators
^XOR
odd = odd ^ item; // XOR will cancel out everytime you XOR with the same number so 1^1=0 but 1^1^1=1 so every pair should cancel out leaving the odd number out
-
-
-
-