1. ArrayList's sublistThe result can not be strongly turned into ArrayList, otherwise throw classcastexception exception, because Sublist returned is ArrayList's inner class sublist, not ArrayList, but a view of ArrayList. Example Public class
Overall, List,set,map is the interface that implements the collection interface.
Repeatability:
The list allows duplicate elements, which means that the list can insert new repeating elements without affecting the values of
articles reproduced from:Correct use of Volatile variables?? Volatile variables in the Java language can be thought of as "light", and synchronized synchronized volatile variables require less coding and run-time overhead than blocks, but only part
Referenced from: http://blog.csdn.net/langhong8/article/details/50938041This article mainly introduces the string constant pool in Java in detail, the JVM in order to reduce the repetition of string object creation, it maintains a special memory,
1. Synchronous, asynchronous, blocking, non-blocking during network programming? Synchronous: The function call does not call the result until it has been obtained, and returns no results.Async: The function call does not call the result and returns
Background: Online Find resume template, you can use as a reference when writing a resume.This CV template is provided by "jobdeer.com", the first Internet talent auction site in China.(enclosed in parentheses is a note prepared by our advisors,
1. Three main features of object-orientedInheritance, encapsulation, polymorphismWhat is inheritance?① inheritance is one of the important reasons that object-oriented programming can improve the efficiency of software development.② inheritance is
In the world of programming, Java has always been the enterprise level development favorite choice of programming language, from the current employment situation in Java is still quite good, due to mobile phone Android development needs, many people
1. Installation of JDK:Download: http://java.sun.comSelect Javase, find the JDK and download it. Configure environment variables after installation.Configuration of environment variables:Control layout-System-Advanced system settings-environment
Plan to complete this note in the following order, for example:
Java Program Ape's JavaScript Learning notes (concept)
Java Program Ape's JavaScript Learning notes (2--property copy and inheritance)
Java Program Ape's JavaScript Learning
Provides classes for implementing network applications. (in alphabetical order)1, Authenticator
Abstract class
Starting from 1.2 There are
No parent classes and interfaces
The Authenticator class represents an object that knows
First, object referenceJava does not allow pointers to be used instead of object references. An object reference can be understood as a pointer to an object, but cannot point to anywhere in memory like a real pointer, or manipulate an object
[TOC]
Java Asynchronous nonblocking io NiO uses the NIO implementation of the Code Analysis Timeserver program to implement the complete codeTimeserver program from the book "Netty Authoritative Guide", NiO code is really a bit difficult to
Java Eclipse and MyEclipse shortcuts, eclipsemyeclipse
Shortcut Keys for Eclipse and MyEclipse
(1) Ctrl + M -- switch the window size
(2) Ctrl + Q -- jump to the last editing position(3) F2 -- when you place the cursor on a tag and press F2
Domain Event usage in Spring Data
1. DDD and Spring Data
DDD: domain-driven design (domain-driven design) is an implementation method for software development under complex requirements. I will talk about DDD in time.
Spring Data is designed in many
How does SpringMVC gradually simplify Servlet programming? springmvcservlet
How does Spring MVC gradually simplify Servlet programming?
Servlet and JSP are two basic technologies used to develop java Web applications. Spring MVC is a module used for
Struts2 framework study notes 7: struts2 tag, struts2 Study Notes
Three labels:
1. JSP: script. Expired to replace servlet
2. JSTL: Standard tag Library (core, format, SQL, xml). Only core libraries are eliminated.
3. Struts2 tag Library: Developed
Talking about SpringCloud's zuul source code analysis, springcloudzuul
Zuul versions of the implementation of some minor changes, the overall implementation of the idea has not changed, take spring-cloud-netflix-core-1.3.6.RELEASE as an Example
1.
Java configuration context. xml file method diagram, javacontext. xml
Modify the context. xml file
After learning the servlet, every time you modify the content, you have to restart the server to access the servlet. This is very troublesome. So
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