随笔分类 - 技术方向-杂记
零散的、杂乱的、小的杂记
摘要:被httpclient恶心到了,搞了半天终于解决了 BasicCookieStore cookies = new BasicCookieStore(); cookies.addCookie(new BasicClientCookie("userId", this.userId)); HttpClie
阅读全文
摘要://String数组转int数组//方法一:数组原生公共方法String str = "12 23 34 45";int[] intArr1 = Arrays.stream(str.split(" ")).mapToInt(Integer::parseInt).toArray();//方法二:转成l
阅读全文