Java
-
Explain the link tracking of spring cloud distributed integration Zipkin in detail
Why use Zipkin? The previous article mainly wrote: spring cloud distributed log link tracking -
Java calls Taobao API to query IP address online
The data returned by Taobao is: {"code": 0, "data": {"country": "\ u4e2d \ u56fd", "country_id": "CN", "area": "\ u534…… -
Explain spring cloud distributed log link tracking in detail
First of all, why use link tracking@ H_ 403_ 1@ When we call between micro services, there may be errors, but we don't…… -
Method for inputting multiple integers from keyboard in Java
Example: sum of sequences Enter two integers n and m respectively, separated by a space in the middle. N is the first …… -
Various implementation methods of Java keyboard input
Example program: 1. Use scanner to read integer or float data from the keyboard -
Java method for reading string branch string
1. Scenario: there are branches in the string, and each line needs to be extracted for processing. 2. Reference codes …… -
Java programming to realize the function of multi person chat room
This example shares the specific code of Java to realize multi person chat room for your reference. The specific conte…… -
Java input multiple data (uncertain), sort, and find the maximum method
As follows: The above method of inputting multiple data (uncertain), sorting and maximizing in Java is all the content…… -
Java regular expression method to get the string between two characters
When building community apps, you need to realize this function: Note: m.group (0) contains those two characters, and …… -
Based on the use of string indexof () in Java
There are four methods (indexof ()) to find substrings of strings in Java The indexof method returns an integer value …… -
Java implementation of simple chat room single version
This example shares the specific code of simple chat room in Java for your reference. The specific contents are as fol…… -
Several methods of writing files from Java file output stream
Java file output stream is a byte stream class used to process raw binary data. In order to write data to a file, the …… -
Summary of common operations of arrays based on Java (must see)
Common operations on arrays 1. Find the maximum value and minimum value in the array Idea: assuming that the element w…… -
Method of reading single character with scanner class in Java
Scanner does not have a method to directly read a single character, and the next method cannot read the space characte…… -
Java method of reading files by line and outputting them to the console
As follows: The above method of reading java files by line and outputting them to the console is all the content share…… -
Construction of spring cloud microservice architecture: distributed configuration center (encryption and decryption function)
preface To be able to use, you must first understand. Don't bother to draw pictures. Learn from the pictures of Daniel…… -
Java Web realizes the function of simple commodity query
This example shares the specific code of JavaWeb to realize the simple commodity query function for your reference. Th…… -
Java multi person interactive chat room based on TCP / IP connection
This example shares the specific code of java socket programming to realize multi person interactive chat room for you…… -
Java implementation of simple TCP chat program
This example shares the specific code of TCP chat program in Java for your reference. The specific contents are as fol…… -
Example of simple input calculation function based on Java scanner object
This article describes the simple input calculation function of Java based on scanner object. Share with you for your …… -
Spring boot implementation filter and interceptor demo
Sort out the documents, search out a demo of spring boot implementation filter and interceptor, sort it out a little a…… -
Java reads files by line, writes files by line, and splits strings with spaces
The first is to read the string by line Split strings by spaces and reassemble them into new strings Null is "\ s", wh…… -
Solve the problem of java web reading local JSON files and garbled code
Recently, I encountered a problem when developing a project. I successfully read the JSON file in the project using Go…… -
Detailed analysis of spring MVC startup process source code
Today, Xiaobian tries to analyze the initialization process of spring MVC from the source level and uncover the real v…… -
Common operation methods of Java string (find, intercept and split)
As follows: Output results: The above common operation methods of Java string (search, interception and segmentation) …… -
Java processing method for reading file path spaces, “+” and Chinese
Sometimes the file is read in Java code. If the path of the file contains spaces ”+In case of "No. or Chinese", becaus…… -
Various methods of Java to obtain paths (summary)
(1)、request. getRealPath("/");// Getting the root path of the project is not recommended (2)、request. getRealPath(re…… -
Detailed explanation of the differences between wait and notify in Java multithreaded communication
The following is a code to introduce the difference between wait notify in Java multithreading communication. The spec…… -
Java reads a line of numeric strings separated by spaces and finds the and methods of these numbers
As follows: The above article on how to read a line of numeric strings separated by spaces and find out these numbers …… -
Method of obtaining absolute path of file in Java
This paper describes the method of obtaining the absolute path of file in Java. Share with you for your reference. The…… -
On the problem of reading file and relative path in Java
1、 For reading files in Java projects 1. Use system or system properties object ① Directly use string relativeypath =…… -
Explain the file file class and filedescriptor file description class in Java
File File is an abstract representation of "file" and "directory pathname". File directly inherits from object and imp……