摘要:
职位:SDE Intern positon 地点: San Jose 1. 轮电面:self introduction what’s your interest Concept of “Concurrent” Thread vs process: definition and difference 阅读全文
摘要:
~~~ public class HeapImpl { private int CAPACITY = 10; private int size = 0; private int[] data; public HeapImpl() { data = new int[CAPACITY]; } //som 阅读全文
摘要:
~~~ public class ThreadCommunication { public static void main(String[] args) { Business business = new Business(); new Thread(() { while (true) { try 阅读全文
摘要:
Write a program that finds the sum value in an array of ints using 4 threads. You may assume in your threaded code that the array has at least 4 eleme 阅读全文
摘要:
测试环境搭建 使用Springboot构建web server, 在测试方法中打印接收的cookie。 @RestController @RequestMapping("/register/test/service") public class TestService { private Log l 阅读全文
摘要:
概念 wiki对于SOA定义如下: A service oriented architecture (SOA) is a design pattern in which application components provide services to other components via a 阅读全文
摘要:
Threadlocal能够为每个线程分配一份单独的副本,使的线程与线程之间能够独立的访问各自副本。Threadlocal 内部维护一个Map,key为线程的名字,value为对应操作的副本。 ~~~ / Created by majun on 16/3/23. / public class Thre 阅读全文