Java
-
Replace int constant with enum
Benefits of enumeration: 1. Type safety 2. Ease of use 3),BLUE(5),BLACK(8),YELLOW(13),GREEN(28 Color(.colorValue= -
Explore Java Lang.ref package — transfer
< H2 id = "major1" > overview Java. Lang.ref is a special package in the Java class library. It provides referen…… -
Deep parsing of Java Memory Model: sequence consistency — conversion
Original address: http://www.codeceo.com/article/java-memory-3.html Data competition and sequence consistency assuranc…… -
Implement castor data binding — turn to
Part 1: installing and setting up castor In XML newsgroups In the discussion forums of mailing lists and websites (whe…… -
Understanding Java 8 Streams API—reference
Since past few versions,Java has started giving importance to concurrency. Java 8 goes one more step ahead and has dev…… -
Svn merges branch code into trunk
1. Install eclipse subclipse 2. Import trunk into eclipse 3. Right click and select team -- > merge. Note that the …… -
Debugging WebLogic Server Applications Using Eclipse and the WebLogic-Plugin
http://www.oracle.com/technetwork/cn/tutorials/eclipse-plugin-093411.html -
Errors running builder ‘JavaScript Validator’ on project
Builders remove the JavaScript validator. As shown in the figure: reference: 【1】 http://www.cnblogs.com/enshrineZith…… -
Mutex vs semaphore in java development
Let's take a look at what the stack overflow says first Original address: http://stackoverflow.com/questions/771347/wh…… -
Common pit of groovy and Java integration — turn
https://yq.aliyun.com/articles/2357 Groovy is not only a dynamic language based on JVM, but also an object-oriented la…… -
Usage of encodeuricomponent
Practice leads to true knowledge. When a pit is encountered in the project, it is summarized after filling: coding doe…… -
Tomcat specifies the configuration file path method
1. In Catalina Set Java in Sh_ Opts, for example: JAVA_ OPTS='-server -Xms1024m -Xmx1024m -XX:NewSize=128m -XX:MaxPerm…… -
Java Performance Optimization Tools and Techniques for Turbocharged Apps–reference
Java Performance Optimization Java is among the most widely used programming languages in the software development wor…… -
In memory of my java posture — turn
Original address: https://segmentfault.com/a/1190000007122432?hmsr=toutiao.io&utm_medium=toutiao.io&utm_source…… -
Research on Hash storage mechanism by analyzing JDK source code — reprint
< H2 id = "major1" > analyze the hash storage mechanism through the source code of HashMap and HashSet < div …… -
Solve Java sql. Sqlexception: parameter number x is not an out parameter — turn
Recently, I wrote a project alone. I can't afford to hurt the program ape fighting alone! When Java calls MySQL stored…… -
Example of reading configuration file for current project
Example of current project directory read configuration: -
ReflectionToStringBuilder
1. Use background The background interface needs to record the parameters of the following query (modification) object…… -
Eclipse Key Shortcuts for Greater Developers Productivity–reference
Posted by Ajitesh Kumar / In Java / June 6,2014 -
Load resources from classpath in Java–reference
In general classpath is the path where JVM can find . class files and resources of your application and in this tutori…… -
10 Questions To Make Programming Interviews Less Expensive–reference
Conducting "Strong knowledge of Java","Exceptional in SQL" and "Programming gurus" fail to answer these simple questio…… -
Top 10 questions about Java Collections–reference
reference from: http://www.programcreek.com/2013/09/top-10-questions-for-java-collections/ The following are the most …… -
Core code analysis of java thread pool framework — to
Original address: http://www.codeceo.com/article/java-thread-pool-kernal.html In multithreaded programming, it is unre…… -
Win7 command line port occupies query process number to kill process
1. Enter DOS command window 2. Check the process number of the program according to the port number Netstat - ano - fi…… -
How to Check if an Array Contains a Value in Java Efficiently?— reference
How to check if an array (unsorted) contains a certain value? This is a very useful and frequently used operation in J…… -
Five ways to maximize Java NIO and NIO. 2 — turn
Original address: http://www.javaworld.com/article/2078654/java-se/java-se-five-ways-to-maximize-java-nio-and-nio-2.ht…… -
Dynamics of Java programming, Part 3: application reflection — reprint
In, I introduced the java reflection API and briefly described some of its basic functions. I also carefully studied t…… -
Java exception handling best practices — reprint
Original address: http://howtodoinjava.com/2013/04/04/java-exception-handling-best-practices/ This post is another add…… -
Jar package dependency query
When you encounter jar package conflicts in the project, you need to understand the dependency of jars before excludin…… -
Anti if: the missing patterns — turn
@H_ 3010 @ original address: http://code.joejag.com/2016/anti-if-the-missing-patterns.html But then it gets you thinki…… -
Java theory and practice: blocking memory leaks with weak references — reprint
To make objects that are no longer used by the garbage collection (GC) collector, the logical life cycle of the object…… -
Dynamics of Java programming, Part 8: replacing reflection with code generation — reprint
Now that you have seen how to use javassist and BCEL framework for classworking (see), I'll show an actual classworkin……