Each lock object has two queues, one is a ready queue, one is a blocking queue, the ready queue stores the thread that will acquire the lock, the blocking queue stores the blocked thread, and when a thread is awakened (notify), it enters the ready
Java Socket CommunicationReference to MU-class network: http://www.imooc.com/learn/161First, the basic knowledge of the network 1.1 communication1.2 TCP/IP protocol
TCP/IP is the most widely used protocol in the world
is a
Inter-system communication based on Java's own technology to realize message modeThe way of communication between systems based on Java itself package is: Tcp/ip+bio, Tcp/ip+nio, Udp/ip+bio and Udp/ip+nio 4 kinds, the following describes how to
The Java bytecode we see is encapsulated in a class file with the extension. class. In this tutorial, let's look at the internal structure of the class file.How the data is written to the class file and the format of the class file, let's start with
In the previous section of
, some static variables and the definition of static methods are used, as well as non-static differences, which are supplemented by the following:
If all methods in a class are static and have no member
Practice today, put it here, and add it later.The jar package used here is Net.sf.json.JSONObjectPackage Yh.test.t1118;import net.sf.json.jsonarray;import net.sf.json.jsonobject;import yh.com.entity.User; Import Java.util.hashmap;import
Welcome loading Please indicate Source: http://blog.csdn.net/yfqnihao/article/details/8271407Course Source: http://download.csdn.net/detail/yfqnihao/4866503What is a Java policy and what is a policy file.Today, I change the way of notes, not
(I next is jexcelapi_2_6_12.tar.gz, after decompression will be inside the Jxl.jar copy to web-inf/lib directory below can)The Java Excel API jar package can be obtained via the following URL: ( recommended )Http://sourceforge.net/projects/jexcelapi/
The interface mechanism is designed to avoid problems caused by multiple inheritance.via Eric Raymond evaluation of several development languages-blog-Bole Onlinehttp://blog.jobbole.com/79421/What is interface, multiple inheritance? Background of
The transient of the Java language is not as well known as class, synchronized, and other familiar keywords, so it appears in some interview questions. This article I will explain transient for you.Transientthe use ofWhat does the Q:transient
Centos 6.4 Configuration Java Environment1 See if the CentOS JDK is installed.Input: Yum list installed |grep Java2 How do I uninstall a CentOS system with a Java environment if I have a self-installing JDK?Uninstall JDK-related file input: yum-y
Java Collection Class diagram
The difference between HashMap and Hashtable
HashMap
HashTable
How to Inherit
Extends Abstractmap implements Map
Extends Dictionary
35Summary of performance optimizations for Java codePreface to the Code optimization, a very important topic. Some people may feel useless, some small places have what good change, change and do not change the efficiency of the operation of the code
JconsoleStarts a graphical console that lets you monitor and manage Java applications.SynopsisJconsole [ Options ] [Connection ...]Options
The command-line options. See Options.
Connection = PID | Host:port | Jmxurl
0. References:Http://www.j2megame.org/index.php/content/view/2246/125.html1.Java of memory mechanismJava divides memory into two types: one is stack memory and the other is heap memory. Some basic types of variables and object reference variables
------Java Training, Android training, iOS training,. NET training, look forward to communicating with you! -------A concept array is a collection of data of the same type, a container, a reference type, stored in a heap. Benefit: You can
Java-9.12 Interface Collection and Iterator
In this section, we will discuss Interface Collection and Iterator.
1. In the Collection and Map implementation classes, the Collection and Iterator interfaces are actually implemented.
package com.ray.ch09
Java record-77-enhanced for loop and Automatic Disassembly boxNew features in JDK5.0: Generic (Generics); Enhanced "for" loop (Enhanced For loop); Autoboxing/unboxing ); type safe enums, Static import, variable parameters, and enhanced for loop: the
Eclipse opens the pop-up Faied to load the JNI shared library "C: \ Program Files (x86) \ java \ jdk1.6.0 _ 21 \ bin \.. \ jre \ bin \ client "solution, eclipsejre Configuration
Today, I downloaded an android ADT integrated with eclipse. the pop-up
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