I. Overview Concept
Decoupling abstraction from implementation so that abstractions and implementations can run independently
UML diagram Role: role Relationship Second, practice Set up the appropriate classes according to the
What is polymorphicThe benefits of polymorphismFor example: Demand: A way for breeders to feed animals to feed animalsIf there is no polymorphism, we will find that for different types of animals, we need to provide different feed methods to feed,
First use idea to build SPRINGMVC project, think like ordinary webapplication, configuration good Tomcat direct operation, did not expect to report a mistake[2017-10-30 11:27:29,683] Artifact Spittr:war Exploded:artifact is being deployed, please
Preface all lazy Write, all 1:30 A.M., directly put the code up code:1 Packagecom.day16.list;2 3 Importjava.util.LinkedList;4 ImportJava.util.Random;5 6 /**7 * Class Description:8 * 9 * @authorAuthor: ChenyanlongTen * @versionCreation Date:
(1) in milliseconds
Long startTime = System.currenttimemillis (); //Get start time
//Dothing ();//test Code Snippet
Long endTime = System.currenttimemillis (); //Get end time
SYSTEM.OUT.PRINTLN ("program run Time:" + (
Java implementation Yang Hui trianglesFirst, source code: Yftriangle.java1 Package cn.com.zfc.day009;2 3 import Java.util.Scanner;4 5 /**6 * Print Yang Hui triangle: new specific position element = The position of the original element + the position
Foreword: In the development time often will meet, some verification code login, actually these things, very simple. I have developed a Verification code login page, then used the plugin. However, as a qualified developer, to understand the core
Order1. Static member variables and static code blocks in the parent class2. Static member variables and static blocks of code in subclasses3. Common member variables and code blocks in the parent class, constructors for the parent class4. Generic
1. Download the JDK2. Installing the JDKThe JDK contains the JRE and JVM, so installing the JDK installs the JRE and JVM. :Http://www.oracle.com/technetwork/java/javase/downloads/index.htmlHttp://www.oracle.com/technetwork/java/javase/downloads/jdk8-
Tag: The Count function returns a sample call to a cascading object concat ABCThe method of the string class can be called consecutively: string str= "abc"; String Result=str.trim (). toUpperCase (). Concat ("DEFG");Please read the source code of
I. Working principles and concepts of spring's core (IOC and DI,AOP).1.IOC Control InversionConcept: Control is shifted from the object itself to the container; The container creates an instance from the configuration file and creates a dependency
One. String encryption1. Design IdeasEnter the English string, encrypt or decrypt the English string according to the encryption or decryption password, and finally output the encrypted or decrypted string2. Program Flowchart3. Source codePackage
Semi-automated code generation tools and automated code generation tools
Semi-automated code generation project built by the company's own Tower
Usage:
Place the csv file in src/resources/csv and run GenMain. java. The generated code is under
Spring Boot package war jar to deploy tomcat and wartomcat
Reprinted statement: please be sure to keep the original article link
Connection: http://www.cnblogs.com/sunyl/p/7754116.html
Overview
1. Spring Boot aggregation project packaging war
SpringMVC and springmvc annotationsI. Component Annotations:
The above four annotations are annotated on the class. The class to be annotated will be initially called a bean by spring and then managed in a unified manner.2. Request and parameter
JSP6 (JSP commands and JSP action elements), jsp6jspI. JSP commands are used to set attributes related to the entire JSP page
Commands can have many attributes, which exist in the form of key-value pairs and are separated by commas.
Three command
ArrayList and array are converted to each other.Conversion between ArrayList and array
Http://wanglihu.iteye.com/blog/243238In development, the conversion between List and array types is inevitable. For example:
Java code
Package test. test1;
The generic tool library called Hutool and hutool
From the original statement published by the author of version 3.1.1, the author liked the persistence and love of the author.
I Don't Know How To Get To Know Hutool. However, Hutool has won
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