Loading
top
primary
Recommendation
You don't know Lambda's secrets and traps

Second exploration of lambda expression First exploration of lambda: https://my.oschina.net/lt0314/blog/3144851 From Example 2, explore the lambda transmission. Before the Runnable creates Thread java8, package com.baigt.learn.nolambda; public class NoLambd...

top
primary
Recommendation
Do you really understand lambda expressions?

Lambda expression practice leads from examples. Lambda passes Runnable. Before creating Thread java8, Thread thread=new Thread (new Runnable()) {@ Override public void run() {//do some

top
primary
Recommendation
HttpClient API of Java 9

Introduction to the HttpClient API of Java 9. I believe that everyone who pays attention to Java 9 knows that the built-in module of Java 9 version provides Http function. Of course, it does not mean that the jdk did not support it before, so what's more about this update? Or what problems have been solved

top
primary
Recommendation
Getting Started with Java 9's Jshell

Before learning JSHELL, make sure that jdk9 has been installed. Please refer to Java 9 installation. Why do you want to learn Jshell? To learn Jshell, you need to know its characteristics. The Read Eval Print Loop (REPL) interactive interpreter (REPL) can be used as an independent

primary
Recommendation
Deeply understand the principle of EnableAutoConfiguration

Source code analysis @ EnableAutoConfiguration's loading and instantiation process in SpringBoot is the first step in a long march. Let's first understand what EnableAutoConfiguration is? What is the EnableAutoConfiguration annotation? where? org.spring...

primary
Recommendation
SpringBoot 2.0 Series 007 -- Web Container Details

SpringBoot 2.0 Series 007 -- WEB Container Details We know that two containers commonly used in Java, tomcat and jetty, are embedded in SB by default. What attributes does SB support? See ServerProperties. java is basically a general server configuration

primary
SpringBoot 2.0 Series 006 -- Start the annotation use of actual combat

SpringBoot 2.0 series 006 -- The annotation of the startup practice uses some mistakes. It means that many online tutorials use the SpringBootApplication annotation by default, and you can scan all beans under the startup class package using only this annotation. The official default tutorial uses @ EnableAuto

2018/05/18 16:14
1K
primary
Recommendation
SpringBoot 2.0 series 004 -- configuration file for launching actual combat

SpringBoot 2.0 series 004 - Start the actual configuration file configuration file configuration file loading process Many documents, including official documents, say that the default configuration file of SB is the file beginning with application, so why? Let's take a look at the flow chart

primary
Recommendation
SpringBoot 2.0 Series 003 -- Custom Parent

SpringBoot 2.0 Series 003 -- Customizing Parent By default, we use SpringBoot through the SB parent project. We have demonstrated this in previous tutorials, so we won't repeat it here. Use custom parent to manage SpringBoot project

primary
Recommendation
SpringBoot 2.0 Series 002 -- Operation Process Analysis

SpringBoot 2.0 Series 002 -- Running Process Analysis SpringBoot 2.0 Series 001 -- Introduction and Related Concepts 1 Several ways to run SpringBoot 1.1 development environment, right click to configure the main method of the class to run the configuration as follows, introduce the relevant pom dependencies

primary
Recommendation
JVM note collation

We still need to correct the mistakes. Waste recycling 1 How to determine whether an object is garbage? The reference counting method adds a reference counter to an object. When the object is referenced somewhere, the value of the reference counter is+1. When the reference fails, the value is - 1 This method cannot solve

primary
Recommendation
Do you really understand the For cycle? Reflection on a For Loop Java Interview Question

Question Recently, a group friend threw out an interview question, the second question in the figure below, about the execution result of a for loop. What is the execution result of his code? Code reproduction of the following example and the interview question above the same, is a very simple example

primary
JVM basic commands

Introduce the instruction function of the Java virtual machine, and at least be able to read the meaning of the bytecode instructions generated by the java code. 1. Overview The Java virtual machine adopts a stack based architecture, and its instructions are composed of opcodes and operands. Opcode: a byte length (0~255), which means that the operation of the instruction set

2017/10/23 10:16
nine hundred
primary
Java Data Structure and Algorithm Array

An arrangement of data in computer memory by a data structure. Common data structures Data structures Advantages and disadvantages Array insertion is fast (according to subscripts) Search is slow, Delete is slow, Fixed size ordered array is faster than unordered array search Delete and insert

2017/10/17 19:39
one hundred and ninety-six

No more

Loading failed, please refresh the page

 Back to top
Top