包含标签:Java 的文章
-
Multi thread ticketing case
Tickets implements runnable: Public class tickets implements runnable {/ / define the ticket source that can be sold p…… -
Define automobile engine class to output automobile information
The code is as follows: public class Demo { public static void main(String[] args) { // TODO Auto-generated method stu…… -
Analog computer USB interface
//Computer class: /** computer class. The computer has a USB slot * / public class computer {private USB; / / indicate…… -
Practice outputting an integer in reverse order
The code is as follows: /*Practice outputting an integer in reverse order, and take out the numbers of bits, tens, hun…… -
Use the calendar class to get the year, month and day
import java.util.Calendar; public class time_Calender { public static void main(String[] args) { Calendar…… -
Implement multithreaded thread
Define a subclass subthread to inherit thread: /** define subclasses, inherit thread * / public class subthread extend…… -
Byte stream copy file – byte stream
} Speed comparison between byte stream and byte copy: One 20m file: byte stream 70mm, byte 40000 mm -
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…… -
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…… -