No doubt!This is the clearest article to explain Java.I/O streaming

Table of Contents Simple combing Understand File streams are the basis of io streams, involving buffer streams, which are operations that use io streams in memory. Conversion streams, as the name implies, are conversions between bytes and character streams., to have byte stream and character stream first, object stream, the most important is ...

Posted on Wed, 03 Jun 2020 09:25:29 -0700 by d~l

[Centos] deploy the helpingscheduler from scratch

1. Environment configuration Install JAVA 1.8 / MySQL 5.7 / ZooKeeper 3.5.8 1.1 installing JAVA 1.8 Check whether there is an installation. If there is one, delete it first rpm -qa | grep java # java-1.7.0-openjdk-1.7.0.71-2.5.3.1.el7_0.x86_64 rpm -e --nodeps java-1.7.0-openjdk-1.7.0.71-2.5.3.1.e ...

Posted on Tue, 02 Jun 2020 19:45:11 -0700 by dsjoes

Analysis of Spring Boot Autoconfiguration Principle for Springboot Series

Articles have been included in Github.com/niumoo/JavaNotes Welcome to Star and Instructions. Welcome to my attention Public Number , articles are updated weekly. Note: This Spring Boot series of articles is based on Spring Boot version v2.1.1.RELEASE for learning analysis, which may vary slightly from version to version. Preface About what ...

Posted on Mon, 01 Jun 2020 18:20:40 -0700 by atoboldon

Leetcode:NO101 Symmetric binary tree

subject Given a binary tree, check whether it is mirror symmetric. For example, a binary tree [1,2,2,3,4,4,3] is symmetric. 1 / \ 2 2 / \ / \ 3 4 4 3 But the following [1,2,2,null,3,null,3] is not mirror symmetric: 1 / \ 2 2 \ \ 3 3 Advanced: Can you use recursion and iteration to solve this prob ...

Posted on Mon, 01 Jun 2020 09:21:51 -0700 by n00byboy

[Java] manual simulation to realize an AQS

What is AQS? synchronized (based on the underlying C + +, the synchronization mechanism of language implementation) Aqs synchronizer (Java implementation)   [Unsafe] magic Bypass the virtual machine and directly operate the underlying memory   Without saying much, we manually simulate an AQS: 1> Lock object: package com.exa ...

Posted on Mon, 01 Jun 2020 07:45:35 -0700 by arie_parie

Thread pool continued: you must know the FutureTask of the implementation principle of thread pool submit()!

preface In the last article, I wrote the implementation principle and source code analysis of the thread pool in Java. It is said that it is a real big satisfaction. I want to let you have a thorough understanding of the thread pool through an article, but what are the shortcomings of the article? The previous article only mentioned the execut ...

Posted on Sun, 31 May 2020 20:23:03 -0700 by mattw

type column parsing of explain

1,const Indicates that the execution step returns at most one row of data. const usually appears in the equivalent query of the primary key or unique index, such as the equivalent query of the primary key id of the t table:It can be considered that it is as fast as a rocket to locate a record by comparing the equivalence between the primary key ...

Posted on Sun, 31 May 2020 08:54:20 -0700 by a.heresey

Java fresh e-commerce platform - fresh e-commerce distribution order solution (Applet / APP)

Java fresh e-commerce platform - fresh e-commerce distribution order solution (Applet / APP)   Note: in the daily fresh e-commerce platform, fresh distribution is an unavailable link. According to the actual business scenario, fresh distribution has two dimensions to consider 1. Time dimension. Note: the time dimension refers to when customers ...

Posted on Sun, 31 May 2020 07:43:40 -0700 by bhi0308

Andropoda fit exploration

Android adaptation has always been a big hate of Android developers. Fortunately, Android 5.0 provides a universal adaptation method. For details, please refer to Zhang Hongyang's universal adapter. However, it doesn't necessarily work for the development of TV or the Internet of things in the current fire, because the companion machine of the ...

Posted on Sun, 31 May 2020 07:37:53 -0700 by jamz310

Java IO byte stream

summary What is IO? IO is what I / O stream means. Based on memory, it can be divided into input and output, that is to say, the flow to memory is the input flow and the output flow out of memory. Input stream: read data from hard disk to memory for use Output stream: write data in memory to hard disk for saving The table above is the top-le ...

Posted on Sun, 31 May 2020 04:50:49 -0700 by Possum