LinkedList definition LinkedList is a linear table (doubly linked list) that is implemented by a linked list, and the elements are ordered and can be duplicated.
Public class Linkedlist extends abstractsequentiallist implements List Deque,
A preface
Although there have been many predecessors have analyzed Abstractqueuedsynchronizer (referred to as Aqs, also known as queue Synchronizer) class, but feel those points are always someone else's, see again even a few times will not be
ArrayList
1. Dynamic arrays
2. Thread is not secure
3. Continuous storage space
4. Fast query, add delete slow
Construction method
/** + Shared empty array instance used for default sized empty instances. We + distinguish this from
GitHub Warehouse: Https://github.com/TaoTaoLv1/WcProject I. Pre-development PSP table estimate *
PSP2.1
Personal software Process Stages
Estimated time-consuming (minutes)
actual time elapsed (minutes)
Agent Mode Learning
Basic concepts
Specific implementation methods
A basic conceptProvides a proxy for other objects to control access to this object. Proxy Objects act as intermediaries, removing feature services or adding
1. hashCode1.1 Basic ConceptsHashcode is an int number (the hash value of an object) that is calculated by the JDK based on the address of the object, representing the storage location of the object in memory.The Hashcode () method is a method
Tag: Set new section to turn on efficiency throughput steps for sizeGarbage collection Algorithm 1. Mark-ClearMark the surviving object, and then clean out the unmarked object.Insufficient:
Mark and clear process are not efficient;
1. Method signatureRefers to the method name and parameter type2. Methods for initializing data in Java classes
constructor function
Assigning values when declaring variables
Static block
3. List to Arraylist list = new
1.session is used to represent the user session, the session object is maintained on the service side, the general Tomcat set session life cycle is 30 minutes, the timeout will be invalid, but also can be actively set not valid;The 2.cookie is
Today, when reading a book encountered such a problem, for the String.intern () method has some knowledge and views. First we look at its APIThe idea is that the Intern () method records the first occurrence of an instance reference in a constant
Process : A program that is in progress. In fact, a process is a memory allocation space when an application runs.thread : It is actually a program execution control unit in the process, an execution path. The process is responsible for the
When it comes to transactions, it is nothing more than commit commit and rollback rollback of a transaction.A transaction is a sequence of operations in which either all succeeds, the transaction commits, or one operation fails and the transaction
A prefaceAlthough there have been many predecessors have analyzed abstractqueuedsynchronizer (abbreviation Aqs) class, but feel those points are always others, see again even a few times will not be impressed. So the record is more impressive, but
Using the spring JdbcTemplate to manipulate additions and deletions, Basedao executes the stored procedure as follows:This method either returns a true or throws an exception;Phenomenon:When the project is published in Tomcat, the same code, the
Java Script stringVarious methods to deal with existing word converts sequential blocks1. Returns the character at the specified positionExample: var test = ' STT '; document.write (Test[0]); The result is s;2. Calculating the length
To improve development efficiency, you typically add some common templates to shortcut keys by:Window-prefrerences-java-editor-templatesCopy the code in the Apply application PackageCom.littlepage.server;Importjava.io.IOException;Importjavax.servlet.
Hello everyone, here I come again, today we talk about the object-oriented java.Remember to interview several companies before the intern position, most of the interviewers have asked me about object-oriented issues, do not know the future will not
The input and output stream is relative to memory
* Line break for Windows: \ r \ n
* Keyboard input
InputStream in = system.in;
System.in This stream does not need to be closed, or the program cannot use this stream
Java. util. concurrentmodificationexception exception because you cannot modify yourself at the same time
I have now created an unlimited classification and hibernate self-Association. When adding products, I can only add subnodes of product types.
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