Java
-
Inventory case – Set + method
The code is as follows: Commodity category: /** define and describe the class of the commodity * commodity: 4 attribut…… -
Read text from character input stream FileReader class
import java. io. FileReader; import java. io. IOException; /* * The character input stream reads text files (only text…… -
Recursive call of exercise method
Five people sat together and asked how old the fifth person was? He said he was 2 years older than the fourth person, …… -
Merge arrays using collections
import java.util.Arrays; import java.util.Set; import java.util.HashSet; public class array_union { public static…… -
Practice birth days
The code is as follows: import java. text. SimpleDateFormat; import java. util. Date; import java. util. Scanner; // C…… -
Nesting of sets
The code is as follows: import java. util. HashMap; import java. util. Map; import java. util. Set; import java. util.…… -
Merge arrays using lists
import java.util.Arrays; import java.util.ArrayList; import java.util.List; public class array_merge { public sta…… -
The encoding method is set to UTF-8 in eclipse, but it is not changed when creating the properties file
Reprint: coding of properties file in eclipse Original link: coding of properties file in eclipse 2. Format conversion…… -
Editor does not contain a main type error message. How to solve it?
I am trying to run some java files in a new project. so I make the project,put the files in it and I try to RUN the ma…… -
Configure the web modules on this server, auto reloading enabled
Original link: https://www.cnblogs.com/xsmhero/p/4070508.html -
Basic Java syntax — a picture of all (Part 2)
This diagram includes reference data types (classes), methods, ArrayList collection, use of eclipse development tools.…… -
nginx:[emerg] bind<>to 0.0. 0.0:80 failed <10013: An attempt was made to access a s ocket
Problem description Method 1 (most of them say so on the Internet) Method 2 (the first method tried, no!) This article…… -
What is javase, written for people who first come into contact with Java
Fundamentals of Java syntax Build java development environment Java overview Javase is the standard version of Java cl…… -
Java basic syntax — understanding of variable operator
variable Variable overview Variables must have clear types, what types of variables are installed in what types of dat…… -
java. langNoClassdefFoundError & java. lang.ClassNotFoundException
Today, my little friend encountered a problem, The exception information is as follows: java.lang.NoClassDefFoundError…… -
Static code block, construction code block and ordinary code block – the execution order and difference of the three
Original link: http://www.cnblogs.com/sophine/p/3531282.html -
Creating Maven projects in eclipse cannot add source folders such as Src / main / Java
Original link: https://www.cnblogs.com/FocusIN/p/6629244.html Yesterday, after cloning code on GIT and generating mave…… -
Dubbo timeout configuration
Problem statement: There is a problem in the work. Service 1 calls service 2 through Dubbo. The problem is that the fi…… -
Tddl: distributed data layer from taobao
Taobao has developed the tddl (Taobao distributed data layer) framework according to its own business needs, which is …… -
Java array to list, so it’s like this — there’s a trap!
In recent development, the aslist method is often used for business processing, which reminds me of many places that a…… -
Is already under version control SVN — two methods
Delete all Svn hide folders. You can use the command line under Linux. Delete in the project under windows. http://blo…… -
How to rank nulls after dates in the database
Original link: http://blog.csdn.net/ideality_hunter/article/details/70846521 -
Java basic syntax — what is API — regular expression
regular expression Is a regular expression that operates on string data Rule: it is composed of some symbols, and eac…… -
Springboot + profile (read different configurations in different environments)
Original link: Specific methods: -
Java parsing JSON file method — direct copy can be used
Original link: http://blog.sina.com.cn/s/blog_628cc2b70101dydc.html Exception in thread "main" net. sf. json. JSONExce…… -
The encoding method is set to UTF-8 in eclipse, but it is not changed when creating the properties file
Reprint: coding of properties file in eclipse Original link: coding of properties file in eclipse 2. Format conversion…… -
The project: namexxx which is referred by the classpath, does not exist?
Create a new workspace, create a java file, output HelloWorld to test, and make an error as soon as it comes up! Solut…… -
Full English name of Linux commands — helpful for memory
Original link: http://blog.csdn.net/alex_sym/article/details/7409566 -
Springboot startup process
Springboot boot Spring Boot通常有一个名为*Application的入口类,在入口类里有一个main方法,这个main方法其实就是一个标准的j…… -
Several methods of obtaining the current time in Java
import java.util.*; public class D { public static void main(String []abc) { in…… -
How to open it Why does this is a multi part message in mime format appear when I open a file in MHT format?
Background: TIP: 1. Open C: \ program files (x86) \ Internet Explorer 2. Win + X P control panel Programs and functi…… -