java--Notes (1)

xms

1 swing is in AWT based on a set of new graphical interface system, it provides the awt All the functions that can be provided, and with pure java Span style= "font-family: the song Body;" The code extends the function of awt awt is a

Java EE and Java Web

What is a Java Web application?Java Web applications generate interactive Web pages that contain various types of markup languages (HTML and XML, etc.) and dynamic content. It is typically comprised of WEB components such as JavaServer Pages (JSP),

Java Foundation thread synchronized keyword

synchronized keyword, which consists of two usages:synchronized method and synchronized block 1. Synchronized method: Declares the Synchronized method by adding the Synchronized keyword to the method declaration. such as:   public synchronized

Java implementation of multiple files of the ZIP package generation

Recently encountered multiple files in the project to reach the ZIP package, due to this piece is not familiar, found on the internet, and now forget to find who, if you found out, please tell me your link, I indicate the sourceHere is the relevant

Understanding of producer consumer patterns in Java

Before I say the producer-consumer model, I think it is necessary to understand the obj.wait () and the Obj.notify () method. The wait () method means that when a thread holding an object lock calls this method, the object lock is freed and the

Java Email Send

Today, I encapsulated the e-mail sent, made an external interface, currently supports text/html type, intends to support the direct text type and HTML file type tomorrow, first upload the current encapsulation code. (2016/8/29).I wrote this code

The instanceof operator in Java

The instanceof operator in Java is used to indicate at run time whether an object is an instance of a particular class. Instanceof Indicates whether this object is an instance of this particular class or its subclasses by returning a Boolean

RxJava 2.0.0-rc1 released, support for Java 6

RxJava 2.0.0-rc1 Released, RxJava is the implementation of Reactivex in Java, with groovy, Clojure, Scala, and JRuby versions.This version has been completely rewritten for higher performance and lower overhead, still supports Java 6, click to view

Java Foundation-set of the collection framework

PS: I am a piece of cake, so this article is self-study after a summary, prawns please you drift overSet class overviewSet is the simplest collection, the objects in the collection are not sorted in a particular way, and there are no duplicate

Technical questions related to interviewing---Java basics

Recently in preparation for the fall school recruit, some common technical issues to make a summary! Hope to help everyone!1. What is the difference between object-oriented and process-oriented?Object-oriented is the decomposition of the transaction

How to use BigDecimal in Java to keep a two-bit valid number for a double type

One, scene: read from the data table decimal type of data is directly plugged into a double type of object, there is no exception.If you want to calculate on this basis again, an exception will occur.For example: read out the data is 0.0092,

Java ThreadLocal in-depth anatomy

Recently look at the Android framework layer code, see threadlocal This class, a little strange, and turned over a variety of related blog one by one read; and then studied the source, and found that their understanding of the previous reading of

JAVA NiO Series (ii) channel interpretation

Channels are a channel for transmitting data, both buffers and entities (files or sockets), and the characteristics of the channel (which is also characteristic of NIO): The data in the channel is always read into a buffer, or it is always read from

Java symbolic references and direct references

To put it simply: a symbolic reference is a string that contains enough information to be used in order to find the appropriate location. You say a symbolic reference to a method, such as: "Java/io/printstream.println: (ljava/lang/string;) V". There

Java garbage collection and memory allocation policy

What is garbage collection?Garbage Collection GC (Garbage Collection) is one of the core technologies of the Java language, and the purpose of garbage collection is to purge objects that are no longer in use. The GC determines whether to collect the

Java multithreading 6:synchronized locking class methods, volatile keywords, and other

Synchronous static methodsSynchronized can also be applied to static methods, and if so, it represents the class lock that corresponds to the current. java file . Take a look at the example and note that PRINTC () is not a static method:From the

Java Quick Sort

Fast sequencing is a sort of algorithm developed by Donny Holl. On average, sort n items to 0(n log n) comparisons. In the worst case scenario, a 0(n2) comparison is required, but this is not a common situation. In fact, fast sequencing is usually

Day05-xml restriction and analysis of the Java EE Employment class in the 168 phase of Chuan Zhi

* Curriculum Review:* Introduction to DOM parsing HTML* DOM Document Object model* Parser* Document Object* getElementById ("value of id"); Returns an element (label) object* Getelementsbyname ("name"); return array* getElementsByTagName ("tag name")

[Java learning notes] examples of keySet, entrySet, and values in Map sets, keysetentryset

[Java learning notes] examples of keySet, entrySet, and values in Map sets, keysetentryset 1 import java. util. collection; 2 import java. util. hashMap; 3 import java. util. iterator; 4 import java. util. map; 5 import java. util. set; 6 7 public

[Java learning notes] & lt; Collection framework & gt; TreeSet, Comparable, Comparator, treesetcomparator

[Java learning notes] TreeSet, Comparable, Comparator, and treesetcomparator 1 public class Person implements Comparable {2 private String name; 3 private int age; 4 5 public Person () {6 super (); 7} 8 public Person (String name, int age) 9 {10

Total Pages: 6206 1 .... 1422 1423 1424 1425 1426 .... 6206 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.