Java
-
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 …… -
Java implementation of socket chat program based on TCP
For beginners who are not deep in the programming industry or who have already understood it, when learning a new tech…… -
Java example of judging whether there are duplicate characters in a string
As follows: The above example of Java judging whether there are duplicate characters in a string is all that Xiaobian …… -
Introduction to spring cloud gateway
Introduction to spring cloud gateway The official version of spring boot 2 was just released some time ago. Spring clo…… -
Jgroups chat applet
This example shares the specific code of jgroups chat applet for your reference. The specific contents are as follows …… -
Java chat room implementation code
This example shares the specific code of java chat room for your reference. The specific contents are as follows Chat …… -
Java method for obtaining the largest identical substring in two strings
"abcwerthelloyuiodef" "cvhellobnm" Idea: 1. Obtain the short substring by decreasing its length. 2. Determine whether …… -
Spring cloud distributed link tracking method
This article describes the call between microservices, and the call between spring cloud Eureka microservices -
Explain the current limiting operation of spring cloud gateway in detail
When developing high concurrency systems, there are three sharp tools to protect the system: caching, degradation and …… -
Detailed explanation of calls between microservices in spring cloud and Eureka’s self-protection mechanism
The previous article talked about the spring cloud registry and client registration, so this article mainly talks abou…… -
Java GUI programming to realize online chat room
introduction Integrated application of Java GUI programming and network programming to achieve a chat room software th…… -
Summary of several methods of reading data from Java console
Here are several ways to read information from the console in Java, which will be checked later! (1) JDK 1.4 (JDK 1.5 …… -
Method of zuul modifying request parameter information in spring cloud
Zuul is a load balancer based on JVM routing and server produced by Netflix Zuul function: Zuul's rule engine allows r…… -
Solution to @ Autowired dependency injection failure caused by spring AOP
Problems found: Previously, I used springaop to make an operation log record. This time, when I used it on other class…… -
How spring boot adds interceptors
Build a spring boot project. Adding an interceptor requires adding a configuration To facilitate the scanning location…… -
Java solves the problem of Chinese garbled code in reading and writing local files
Java solves the problem of Chinese garbled code in reading and writing local files preface: When using Java programs t…… -
Java implementation reads TXT text data and takes values line by line in the form of array
First, read the contents of TXT text, output it on the console, and directly the code: In this way, we read out the da…… -
Java is the simplest way to calculate the number of days between two dates and times
There is a low way, that is, you change the two times into seconds, divide them by the number of seconds of a day, and…… -
Java implementation reads txt files and takes data with spaces in each line
A simple example. Where regular is to cancel redundant spaces or tab keys Java reads and writes txt files line by line…… -
Simple chat applet of Java network communication technology
This example shares the specific code of simple chat applet in Java for your reference. The specific contents are as f…… -
Two ways to separate Java strings with spaces
There are two ways: 1. String str = "123 456 789 111"; String [] strArray = str.split("s"); 2.String str = "123 456 78…… -
Java implementation method for obtaining project file path
this. getClass(). getResource("/"). getPath(). Substring (1) gets the path e: / MyEclipse / test / Webroot / WEB-INF /…… -
The method of writing and reading data in TXT text with Java
Write data to the text. Generally, these data are used for automatic testing. Through some rules for generating data, …… -
Explain spring @ Autowired injection tips in detail
When discussing spring automatic injection with my colleagues today, I found that such a piece of code is particularly…… -
Implementation of three ways of writing Java string to file
Implementation of three ways of writing Java string to file 1. Using filewriter 2. Using fileoutputstream 3. Use fileo……