搜索内容

包含标签:Java 的文章
  • Java thread — production and consumption

    /* JDK1. Version 4: producer, consumer. The problem of multiple producers and consumers. If judgment flag, only once, ……
    Java
  • Java design pattern — singleton design pattern

    /*Design pattern: an effective solution to the problem. In fact, it is a kind of thought. 1. Single case design mode. ……
    Java
  • Java development environment configuration

    Installing Java in Windows system Download JDK First, we need to download the java development kit JDK at: http://www.……
    Java
  • Java (5) annotation

    @ 1、 Understanding of annotations 2、 Annotation application example 1. Example 1: generate document related annotati……
    Java
  • Java(8)I/O

    1、 File class 1. File class overview 2. File class instantiation 3. Common methods of file class Public Boolean renam……
    Java
  • Java design pattern — singleton design pattern

    /*Design pattern: an effective solution to the problem. In fact, it is a kind of thought. 1. Single case design mode. ……
    Java
  • Java (4) enumeration class

    @ 1、 Introduction to enumeration class 2、 Custom enumeration class 1. Method 1: jdk5 Custom enumeration class before……
    Java
  • Java design pattern — singleton design pattern

    /*Design pattern: an effective solution to the problem. In fact, it is a kind of thought. 1. Single case design mode. ……
    Java
  • Java multithreaded programming — multithreading

    If you want to implement the definition of multithreading in Java, you need to have a special thread body class to def……
    Java
  • Java (2) multithreading

    @ 1、 Understanding of basic concepts 1. Program, process, thread 2. Single core CPU and multiple CPUs 3. Serial, para……
    Java
  • Java (6) collection

    1、 Overview of Java collection framework 1. What is a collection 2. Characteristics of sets 3. System of sets explain……
    Java
  • Enhanced for loop

    1、 Enhanced for loop 2、 Enhanced for loop format 3、 Enhanced for loop considerations
    Java
  • Maven

    Maven 1. Why learn Maven? 2. Maven project architecture management tool At present, we are using to import jar package……
    Java
  • Servlet

    Servlet 1. Introduction to Servlet The Java program that implements the servlet interface is called servlet 2. HelloSe……
    Java
  • Java Reflect

    Reflection 1. Overview of java reflection mechanism Reflection mechanism allows the program to obtain the internal inf……
    Java
  • Maven download and installation

    Maven download and installation 1、 Maven concept Development process: make -- > ant -- > Maven -- > gradle f……
    Java
  • Mail sending

    Mail sending 1. Principle Send mail: SMTP protocol Receiving mail: POP3 protocol Simple mail: plain text mail without ……
    Java
  • POI

    POI 1. Basic object 2. POI write 1. Import dependency <?xml version="1.0" encoding="UTF-8"?> <project xmlns="……
    Java
  • MVC

    MVC MVC: model view controller ----- > model view controller 1. Structure of previous years When the user understan……
    Java
  • Solve the JDK version problem of maven

    Add the following code to the POM file <build> <plugins> <plugin> ……
    Java
  • File upload

    File upload 1. File upload basis 2. Precautions 3. index. jsp <%-- Created by IntelliJ IDEA. User: Wang Date:……
    Java
  • Java based interfaces and internal classes

    Interface and inner class This paper mainly sorts out the difficulties encountered by some authors in Chapter 6 of Jav……
    Java
  • Cookies and sessions

    Cookies and sessions 1. Conversation Session: users open a browser, click many hyperlinks, access multiple web resourc……
    Java
  • SMBMS

    SMBMS(Supermarket Billing Management System ) 1. Project structure 2. Preparation for project construction 3. Realizat……
    Java
  • JavaBean

    JavaBean Entity class 1. JavaBeans have specific writing methods The ORM is generally used to map fields in the databa……
    Java
  • There will always be a few wrong steps in the long way of optimization (remember an interface optimization)

    Recently, I did a search interface optimization, repeated pressure testing for four times, and finally met the require……
    Java
  • JDK1. Thread pool in 8

    The above code has been used all the time. I'm often asked during the interview, but I've never studied it deeply. I d……
    Java
  • Basic usage of completable future

    Asynchronous computing Limitations of future interface The future interface can build asynchronous applications, but i……
    Java
  • Java export CSV file

    In the past, POI was always used to export as Excel file. Later, when I learned about CSV, I found that the speed was ……
    Java
  • Abstractqueuedsynchronizer source code analysis (implementation of reentrantlock lock lock)

    1. Preface Abstractqueuedsynchronizer (PS: AQS for short) is used in many places in Java, such as reentrantlock and th……
    Java
  • ThreadLocal principle

    1. What is ThreadLocal ThreadLocal provides thread local variables. The difference between these variables and ordinar……
    Java
  • JDK1. 8. Reading the source code of concurrenthashmap

    1. Read with questions Why is concurrent HashMap thread safe? Or how does concurrent HashMap prevent concurrency? 2. F……
    Java