Java recommended readings and source code readingJiangsu Wuxi Miuxiaodong1. Java Language BasicsWhen it comes to basic Java language Learning books, you will definitely recommend Bruce Eckel's "Thinking in Java". It is a very prof
Java. util. concurrent package source code reading 05 BlockingQueue, java. util package
Everyone must be familiar with the producer-consumer queue. The producer is responsible for adding elements to the queue. If the queue is full, it will be blocked until a consumer takes the elements away. On the contrary, the consum
It seems that the weather in Xi'an is difficult to get better, and the continuous moderate pollution is suffocating. No nonsense. This morning I wrote a Java mail sending service class. Let's look at the source code:
Package Dec; import Java. util. properties; import javax. mail. message; import javax. mail. messaging
Based on the analysis in the previous article "Introduction to Real Data Encryption Using DES (analysis)", Java can be used to encrypt strings, however, the legacy problem is that the string cannot be decrypted, because after the encrypted byte array is converted into a string, it will be different from the original byte array, and there will be fewer digits, I don't know why. Isn't a one-to-one conversion between a non-byte array and a string? Confus
Java. util. concurrent package source code reading 20 DelayQueue, java. util package
DelayQueue stores Delayed objects or child objects in an orderly manner. If an element is not removed from the queue, the object is returned only after the delay is exhausted.
The so-called Delayed type inherits the Comparable interfac
Interpretation of source code based on Annotation configuration Bean Definition
The first part of this series analyzes the source code of the
Annotation-based Bean parsing portal
As shown in Figure 2 above, the last Loop sequence diagram in the lower-right corner is the entry for the parse Bean for the Annotation c
Original address: http://www.zhihu.com/question/34345694
Why does Java source go through the intermediate steps into bytecode, which is not to increase the workload. Directly interpret the source code across platforms as well.
Why not explain the source
Reprint light indicated Source: http://blog.csdn.net/ns_code/article/details/35564663
The Java Collection toolkit is located under the Java. util package and contains many common data structures, such as arrays, linked lists, stacks, queues, sets, and hash tables. The Java Collection framework can be divided into the
Brief IntroductionJava.exe is the execution program of the Java classfile.
An execution shell that loads JVM. dll (in windows, the following uses Windows as an example,
Linux and Solaris are actually similar, for: libjvm. So), this dynamic Connection Library is Java
The actual operation of the virtual machine. This document describes how the java. exe program fin
Download related source code:Java. util. ArrayListJava. util. AbstractListJava. util. ListArrayList is a variable-length array implementation of the List interface. All List operations are implemented and null values can be stored. Except for not synchronizing data, ArrayList is basically equivalent to Vector. Almost all methods are synchronized in the Vector, but the ArrayList only synchronizes writeObject and readObject. Other methods such as add (O
Briefly1. Mac OS (version 10.8) comes with jdk1.6 or JAVA6, but no source code. Mac OS comes with Java 6 which is released and updated by Apple, slightly different from Oracle's Java 6, such as No Rt.jar, instead of Classes.jar other details for reference http://my.oschina.net/hmj/ blog/799392. Oracle officially does n
obfuscation jscompressor
Jscompressor, mainly used to compress, confuse JS (Javascript) and CSS, based on Yui compressor, the purpose is to facilitate unfamiliar Java or do not like the command line compression of Web developers to use. Functions: 1, can compress, confuse the entire directory (including subdirectories) under the JS or CSS files, in the same folder to generate *.min.js or *.m ... More jscompressor Information
Last
Document directory
1. How to query the local Java version?
2. Where is the Java Control Panel on Mac?
3. solve the problem that the source code cannot be found in eclipse. the JAR file/system/.../classes. Jar has no sourece attachment.
4. Modify the source
Use encryption technology to protect Java source code
Content:
1. Why encryption?
Ii. Custom Class Loader
Iii. encryption and decryption
4. Application Instances
5. Notes
Reference resources
The source code of the Java program
here, reducing a lot of code.
In this case, you do not need to write a comparator, so you can directly sort it. below is our test program:
Import Java. util. arrays; import Java. util. collections; import Java. util. list; import Java. util. sortedset; import
Below is a list of some tools that can help you examine your Java source code for potential problems:
1. pMD from http://pmd.sourceforge.net/
License: PMD is licensed under a "BSD-style" License
PMD scans Java source code an
class Beaninfoannotationprocessor extends Abstractprocessor
8.3) Compile the annotation processor and run
Compile note Processor: E:\bench-cluster\cloud-data-preprocess\corejavaadvanced\src>javac com/corejava/chapter10_6/ Beaninfoannotationprocessor.java
Run: E:\bench-cluster\cloud-data-preprocess\corejavaadvanced\src>javac- Processor Com.corejava.chapter10_6.BeanInfoAnnotationProcessor Com/corejava/chapter10_6/chartbean.java
Result: You can then view the automatically generated Chartbeanbea
Java source code to C # five best toolsChszs, reprint need to indicate. Blog home:Http://blog.csdn.net/chszsFor some purposes, you may encounter the task of converting Java source code into C #
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.