This series of blogs outlines the framework for some time. This series of blogs includes a summary of existing knowledge and a vision of future knowledge.
This series of blogs contains seven of the following for example:
The
Iterator pattern definitionIterator mode (Iterator), which provides a way to sequentially access various elements in an aggregated object without exposing the object's internal representation.Role composition of the iterator pattern(1) Iterator Role
The scope of the variable (valid scope of use)1. There are 2 kinds of variables1.1 member variables (attributes)declaration in the inside of the class, outside of the method1.2 Local variablesDeclared within a method or for loop structure2.
FileAn object can represent a file or folder that exists, or it can represent a nonexistent. What if we want to get the contents of the file,Filejust manipulate the file, and the contents of the file are handled usingiostreaming technology. For
Reprinted: Concurrent Programming Network: ifeve.com NIO TutorialThe Selector (selector) is a component in Java NIO that detects one or more NIO channels and is able to know whether the channel is ready for a read-write event. In this way, a single
10th chapter to avoid the danger of being active10.1 Dead Lock-10.1.1 Lock Sequence DeadlockThe simplest form of deadlock:-10.1.2 Dynamic Lock Sequence deadlockThe following methods can be used to solve the problem:-10.1.3 deadlock occurs between
According to the previous record in the Java Web Common coding garbled problem (a), and then record garbled case: Case Analysis: 2, output stream write content or input stream read content garbled (Chinese in the content)Cause Analysis:A, if it is
Java Fundamentals (Chapter 12)The scope of the variable (valid scope of use)1. There are 2 kinds of variables1.1 member variables (attributes)declaration in the inside of the class, outside of the method1.2 Local variablesDeclared within a method or
1. Keywords
Keywords are given special meanings in Java, such as public void class, and all the keywords in the Java language are lowercase . But this sentence can not be reversed.
2. Identifiers
Identifiers are actually some
1, Java is an object-oriented high-level programming language.2, Java includes: Javase (Java Foundation) Java EE (Java Enterprise Application)First, write Java program with Notepad1. Create a Java source file with the extension. java2. Compile the
Basic conceptsIn the Java Runtime environment, for any class, can you know what the properties and methods of this class are? Can any one of its methods be called for any of the objects?The answer is yes.This dynamic acquisition of information for
Reference indicators for performance
Execution time-from the time the code starts running to the end
CPU time--the time that a function or thread consumes the CPU
Memory allocation-a scenario in which a program consumes memory
Fork/joinThe Fork/join in JAVA7, similar to the mapreduce idea of Distributed File System Hadoop, is to split the task, then split it, until it is partitioned to meet the conditionsFor ease of understanding: The programming logic can borrow the idea
We can learn the exact type of an object through Java's rtti mechanism, but this requires a prerequisite: the type must be known at compile time so that Rtti can recognize it, that is, at compile time, the compiler must know the class handled by
12th ChapterThe scope of the variable (valid scope of use)1. There are 2 kinds of variables1.1 member variables (attributes)declaration in the inside of the class, outside of the method1.2 Local variablesDeclared within a method or for loop
Single Linked list:* 1. A linked list can be an ordered or unordered listing* 2. The contents of the linked list are usually stored in memory.* 3. The list is composed of nodes, each node has the same structure* 4. Node is divided into data domain
first, Hibernate IntroductionIn many scenarios, we don't need to use JdbcTemplate to manipulate SQL statements directly, so we can use the ORM tool to save a lot of code and development Time. ORM tools can shift attention away from Error-prone SQL
Talking about java garbage collection mechanism, talking about java garbage collectionI. Problems
I recently encountered many questions about the garbage collection mechanism in java, so I wrote a blog to share with you what the garbage collection
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