import java.util.UUID;/*** Java语言性能测试** @author fjl**/public class Test{public static void main(String[] args){String name = "";String[] strs = name.split("\n");System.out.println(strs[0]);System.out.println(name+strs.length);}/*** Android唯一编码*/public void getAndroidId(){String uniqueId = null;String tmDevice, tmSerial, androidId;tmDevice = "860364029578993";// tmSerial = "" + tm.getSimSerialNumber();tmSerial = "";// androidId = "312f8b0d407fdfac";androidId = "A80";UUID deviceUuid = new UUID(androidId.hashCode(), ((long) tmDevice.hashCode() << 32) | tmSerial.hashCode());uniqueId = deviceUuid.toString();// 403492959System.out.println("androidId.hashCode():" + androidId.hashCode());// -796222571,-796222571int x = tmDevice.hashCode() << 32;System.out.println("tmDevice.hashCode():" + x);}private void fortest(){if(true && true){System.out.println("1");}else if(1 == 2 && true){System.out.println("2");if(true){System.out.println("3");}if(true){System.out.println("4");}}else if(false && true){System.out.println("5");}else{System.out.println("6");}}}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。