The previous article has said some basic information of Hessian, the following is a basic example to see how the Hessian API to use. The examples are mainly from two aspects, first we need to look at the Hessian serialization function, then is
The main difference between fair and AQS implementations of the JUC package is that in an unfair lock, the thread that attempts to acquire the lock and has not entered the wait queue competes with the thread that waits for the queue head node. In a
Max HeapThe maximum heap data structure is a complete binary tree (leaf nodes can only be present in the lowest and lower layers, and the bottom layer of the node is concentrated in the most left of the layer of the two-fork tree) at several
Exception reason: This exception is generally the reason why Tomcat cannot find the servlet report when the project is published by Eclipse in the following two cases
1 The JRE version of Tomcat and the compiled version of the project configuration
What is object-oriented* is a more consistent with our thinking of the habit of lazy people thought* Can simplify the complex time* To turn our executor into a conductor* The role has changed* What are the features of the object-oriented*
The Jre7 and Jre8 are installed under Ubuntu, and when you use Update-alternatives--config java to set the default JRE to Jre7, start idea Error: * * * Java 1.8 or later is required.
You can use Update-alternatives--config java to set the default
This article source code see: Https://github.com/get-set/get-designpatterns/tree/master/memento
Memo Mode (Memento pattern) is also called snapshot mode (Snapshot pattern), which is the behavior pattern of the object. Used to save a state of an
Java format time to milliseconds:
SimpleDateFormat formatter = new SimpleDateFormat ("dd-mmm-yyyy HH:mm:ss:SSS");
String formatstr =formatter.format (new Date ();
Appendix:
Java formatted alphabet
Symbol
meaning
Presentation
This is mainly done in the Java memory area and GC mechanism of knowledge Summary, the following paragraph excerpt from the network, part from the book, the specific links forgotten, because this is the time before the study to do the notes. Also
1. Table comparison:
2. Convert into binary:
Java in byte to represent the binary, because byte has 8 bits, and int has 32 bits, so the int to binary should be removed from the high save the lowest 8 bits, the following code:
public static byte[]
LRU: (least recently used) The least recent algorithm has been used. LRU algorithm in the Java data structure implementation is a LRU algorithm in the interview frequently asked questions, we can use LinkedList to express the latest and least use.
One, what is the cache
1. Cache is a special memory subsystem of high speed buffer memory, which replicates frequently used data to facilitate fast access
2, usually in the speed difference between the two hardware/software, used to coordinate the
Statement: This blog for the original blog, without permission, may not be reproduced. Small partners if it is in other places to see, suggest or to csdn to see it (the original link address for http://blog.csdn.net/bettarwang/article/details/2616640
What is the reflection mechanism?
The reflection mechanism is in the running state, for any class, all the properties and methods of the class can be known, and any one of its methods and properties can be invoked for any object; This dynamically
[Java] [MyBatis] Physical paging implementation
MYBATIS3.0 has been out for some time, in fact, I really like such a persistent framework, because it is simple and practical, low learning costs. The Mybatis3.0 is similar in overall structure to
Practical Training Requirements:
Code:
Equationexception class:
Import java.awt.*;
Import java.awt.event.*;
Import javax.swing.*;
Class Equationexception extends RuntimeException {public static final int none_equation = 1;
public static final
In the Java and the contract has such a package, java.util.concurrent.atomic, the package is the Java part of the data type of the atomic encapsulation, on the basis of the original data type, provides the atomic operation method, guaranteed the
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