Package com.czbk.thread;/*** Created by Chengtao on 17/12/3.* Requirement: The child thread runs 10 times, then the main thread runs 100 times, runs 50 times sequentially*Wait (): Waits if the thread executes the wait method, the thread enters the
Not completed, Sunday One will be completed
Summary of this week's study
1.1 Summarize multithreading related content in the way you like (mind map or other).
Written work
Multi-thread of this PTA job title set
1. Summary of this week's study1.1 Summarize multithreading related content in the way you like (mind map or other).2. Written workThis PTA work problem set多线程1. Source code reading: Multi-threaded BouncethreadWhat is the use of the 1.1 ballrunnable
Threads and locks must be used correctly when building robust concurrent programs. But it's just some mechanism. The core of writing thread-safe code is to manage state access operations, especially for shared and variable (Mutable) state access.The
First stage:1. Java syntax and basics, including loops: And the related content of the class, such as implementation, inheritance, etc.2. You need to master a few key points of the collection, the list interface of the two subclass
"Publish (Publish)" an object that means that the object can be used in code outside the scope.For example:Save a reference to the object to a place where other code can access itReturns the reference in a non-private methodTo pass a reference to a
1, the implementation of Spring AOP principle:Spring provides two ways to generate proxy objects: JDK native Jdkproxy and cglib, which are used in a way that is aopproxyfactory based on the configuration of the Advisedsupport object. The default
The code is very simple, the baby is directly on the code, please spray it!/***jdk1.5 after the lock, the creation of locks is not so cumbersome, call lock locked unlock unlocked, more object-oriented*/public class Locktest {public static void Main (
The usual, directly on the code, write bad Don't spray!public class Threadexecutrols {public static void Main (string[] args) {Create a thread pool with a fixed number of 3Executorservice ex = Executors.newfixedthreadpool (3);Create a single
How do I output a word in reverse? Turn "Hello java hello China" into "China hello java hello"?It seems very simple, just want to divide the string into words first, then add a StringBuilder or StringBuffer, and finally use the ToString method, now
1. Summary of this week's study1.1 Summarize abnormal content in the way you like (mind map or other).2. Written workThis PTA work problem set异常1. Common exceptions7-1 answer with topic set1.1 What exceptions do you often have in code that you have
Chapter One Introduction to the Java languagefirst, what is Java? Java programming Language: Simple, fully object-oriented, distributed, interpretive, robust, secure and system-independent, portable, high-performance, multi-threaded, and dynamic
The same is the experimental archive. 。。The issue of producer consumers is still a backdrop.Enhancement (= "Resource Manager") encapsulates the resource and the operation of the resource, and the resource user is OK to manipulate the resource
Spring Cloud documentation, springcloud
Spring Cloud: http://cloud.spring.io/spring-cloud-static/spring-cloud.html
Spring Cloud Config: http://cloud.spring.io/spring-cloud-config/single/spring-cloud-config.html
Spring Cloud Netflix:
Tomcat9 + eclipse: how to publish a website, tomcat9eclipse
Prerequisites: you have installed eclipse on your computer and can perform normal javase exercises. The following code runs javaee for the first time to demonstrate how to use tomcat +
Spring-data-jpa -- if one-to-one and others-to-one annotations are used, an error solution will appear during Jackson's json String Conversion,
References:
Http://blog.csdn.net/remote_roamer/article/details/51330843
Http://blog.csdn.net/xiaodaiye/
My experiences and experiences in switching from. net to java, and my experiences in. netjava
As many people have consulted me about this issue. net to java, do you have any tips? I will share with you now. net to java. The comparison between two
Servlet's personal understanding, Servlet's personal understanding
1. What is Servlet?
1. servlet is a dynamic web page technology based on Java technology. It runs on the server side and is managed by Servlet containers to generate dynamic content.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service