摘要:
这就是JUC 传统的方法在多线程的情况下就会有并发的问题 public class SaleTicketDemo01 { public static void main(String[] args) { // 并发 多个线程操作同一个资源类 把资源丢入线程 Ticket ticket = new T 阅读全文
posted @ 2021-06-25 20:14
野兽Gentleman
阅读(79)
评论(0)
推荐(0)
摘要:
public void setCookies(String cookiesPath) { Map<String, String> cookieMap = new HashMap<>(); String cookie = getSharedPreferences("cookie", Context.M 阅读全文
posted @ 2021-06-25 15:25
野兽Gentleman
阅读(260)
评论(0)
推荐(0)
摘要:
伪代码贴上 @Override protected void onCreate(Bundle savedInstanceState) { mWebView = (WebView) findViewById(R.id.webview); //获得webView initWebView(); } pri 阅读全文
posted @ 2021-06-25 11:20
野兽Gentleman
阅读(162)
评论(0)
推荐(0)

浙公网安备 33010602011771号