Java
-
Example of concurrenthashmap in Java — to
Original address: http://www.concretepage.com/java/example_concurrenthashmap_java On this page we will provide example…… -
When using jetty for debugging, eclipse relies on the source code debugging method of the project
[1] Add source eclipse-->debug as-->debug configurations-->source [2] If source does not work Recompile and M…… -
Five things you don’t know about the Java collections API — turn
Part 1 http://www.ibm.com/developerworks/cn/java/j-5things2.html For many Java developers, the Java collections API is…… -
no awt in java. libary. path
Missing dependent package. Under Linux, enter the JDK installation path / JRE / lib / i386 Use LDD to view dependent p…… -
-
The windows command calculates MD5 and SHA1 / 256 values
certutil -hashfile file MD5 certutil -hashfile file SHA1 certutil -hashfile file SHA256 Examples are as follows: -
Chinese to Unicode, Chinese to bytes, Unicode to bytes, Java implementation
Encoding format of string: String hex="\u5df2\u5b9e\u540d\u5236";// hexadecimal -
RESTful Web Services: A Tutorial–reference
As REST has become the default for most Web and mobile apps,it's imperative to have the basics at your fingertips. -
Be careful when designing database fields or using boolean type in Java
Boolean variables have only two values: false and true. We will use Boolean when designing database fields or defining…… -
What’s new in Java se 6: compiler API
< H2 id = "n10044" > Introduction to new API functions JDK 6 provides an API to call the compiler at run time. L…… -
BigDecimal division exception
When two BigDecimal numbers are used for division, the following exception message appears: solve: The generated excep…… -
Thread safety
Three types of thread safety: 1. Do not share variable state variables between threads. 2. Change the shared variable …… -
Deep parsing of Java Memory Model: Lock — turn
Original address: http://www.codeceo.com/article/java-memory-5.html Release of lock - acquire the established happens …… -
Keystore vs truststore — reprint
Original text: http://lukejin.iteye.com/blog/605634 Today, a colleague asked me about these two concepts, so I recorde…… -
Java 8 concurrency tutorial — to
Threads and Executors Welcome to the first part of my Java 8 Concurrency tutorial. This guide teaches you in Java 8 w…… -
Java 7 multithreading – semaphore — reprint
Semaphore is used to save the number of currently available licenses. This is achieved by sharing locks. According to …… -
java. net. Socketexception four exception solutions – turn
java. net. How can socketexception be better used? This requires us to understand the relevant problems about the lang…… -
Improving Lock Performance in Java–reference
After we introduced to couple of months ago,we have started to receive queries similar to “hey,great,Now I understand …… -
Integer problem encountered in the project — transfer
Integer type value equal or unequal analysis http://www.cnblogs.com/zzllx/p/5778470.html See the interview question wr…… -
Comparison between static agent and dynamic agent in Java — reprint
< pre class = "recommend text mb-10" > extension: < a href=“ http://www.ibm.com/developerworks/cn/java/j-lo-p…… -
Understanding transient variables in Java and how they are practically used in HashMap—reference
What is the significance of the transient keyword in ? If you know the answer,good! you are a person who uses this a l…… -
Java get classpath — transfer
Classloader provides two methods to obtain resources from the loaded classpath: public URL getresource (string name); …… -
Analysis and extension of Java Dynamic Proxy Mechanism — turn
Introduction < P style =" margin top: 5px! important; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; pad…… -
Slow Server? This is the Flow Chart You’re Looking For–reference
Your high-powered server is suddenly running dog slow,and you need to remember the troubleshooting steps again. Bookma…… -
JMX and system management — transfer
< H2 id = "n10062" > Preface In the running process of Java programs, the monitoring of JVM and system has alway…… -
Timer Stopwatch example
timer reference: 【1】 http://www.concretepage.com/spring/stopwatch-spring-example -
ANNOTATION PROCESSING 101 by Hannes Dorfmann — 10 Jan 2015
Original address: http://hannesdorfmann.com/annotation-processing/annotationprocessing101 In this blog entry I would l…… -
Please don’t take “string s = new string (” XYZ “); how many string instances have been created” to the interview — turn
This post is used to answer a question in the circle. Originally because too many have already make complaints about w…… -
-
How to Analyze Java Thread Dumps–reference
Original address: http://architects.dzone.com/articles/how-analyze-java-thread-dumps