包含标签:Java 的文章
-
IO streams – Overview
I Abstract classes InputStream and OutputStream form the basis of IO classes Because byte stream oriented objects are …… -
Java static proxy and dynamic proxy
Original link: http://www.orlion.ga/207/ 1、 Agent mode Proxy pattern is a frequently used design pattern. Proxy patte…… -
IO stream – text \ read / write binary data
Text IO 1、 Brief description The outputstreamwriter class uses the selected encoding method to convert the Unicode ch…… -
Servlet lifecycle
1、 Architecture diagram Servlet execution process: Step 1: the HTTP request is delegated to the servlet container by …… -
IO stream zip document
Zipinputstream is usually used in Java to read zip documents Zip documents (usually) store one or more files in a comp…… -
IO stream – file management
File f = new File(“test.txt”); The constructor of file will not create a new file when the file does not exist. The cr…… -
JSP Foundation
1. Pass data from servlet to JSP: In servlet: RequestDispatcher req = request. getRequestDispatcher("NewFile.jsp"); St…… -
Thread control
1、 Thread sleep Method used: public static void sleep (long millis): let the executing thread sleep for millis Public…… -
Multithreading overview
1、 JVM thread dependent When the JVM is started, a process will be started, which will start a thread. The JVM startu…… -
List of Java collection framework
1、 List: 1. Unique common methods: (one common feature is that corner markers can be operated) (1) , add Void add (in…… -
-
JSTL tag library
1. JSTL depends on El. To use JSTL, you need to import the jar package of JSTL. JSTL has four libraries: Core: core li…… -
Map of Java collection framework
Map: Add a pair of elements at a time (key - > value) Two column set, key value pair Common methods: 1. Add V put (…… -
JUnit 4 uses
1. Import junit4jar package: In eclipse, right-click bulid path on the project, then click Add libraries, and select J…… -
Java package
Prevent class name duplication Package name naming rules The full name of a class "Package name" + ". +" Class name Co…… -
DDMS files not found: xxx\hprof-conv.exe
The following error occurred: terms of settlement: Copy hprof-conv.exe in Android SDK \ Tools Directory to sandroid SD…… -
Java class set framework map
Each element in the map contains a key object and a value object. Keys cannot be repeated and values can be repeated O…… -
-
-
-
Subclass instantiation super
Super calls the parent class construction, which must be written in the first line Call other constructs of the parent…… -
-
-
-
Summary of problems in upgrading JDK from old version to 1.8
Jdk8 upgrade FAQ JDK environment settings in IntelliJ Settings Click File > Settings > java compiler Select 1.8 …… -
Java class set framework
The objects in the collection are not sorted in a specific way, and there are no duplicate objects Operation results -
Java transformation
Including upward transformation and downward transformation Upward transformation @ h_ 301_ 6@ -
-
How to quickly create millions of test data
scene During SQL optimization or query performance test, we need a lot of data test to simulate. At this time, a probl…… -
A large number of GCs in the company’s online virtual machines have led to a surge in STW and CPU — a process of cocooning and positioning
background There is a Tomcat service on the company's online, in which about 8 microservices are merged and deployed. …… -
-