Java
-
Color image converted to black and white picture
This blog will be talking about the color image converted to black and white picture. The project structure as follow:…… -
Java POI technology, reading and writing excel [2003-2007, 2010]
In the previous blog: I introduced the related operations of reading excel with POI technology in Java Read excel and …… -
Write your own automatic code generation tool_ Java version_ Source download
That is, generate corresponding Dao, daoimpl, service, serviceimpl and other classes for each bean. The following is a…… -
Blog Garden_ Insert code (recommended)_ Button function realization_ Code highlights
Operation effect: : preparation 1. Download SyntaxHighlighter_ 1.5. 1.rar Download address: After decompression, D…… -
-
Java development_ Imitate Baidu Library_ SWFTools_ Source download
I wrote an article before: Step 2 today: SWF (pdf2swf) Before doing this, we should also make some preparations: : ja…… -
String objects can be assigned with “=” or “new”. What is the difference between the two methods?
When you see the title, you may subconsciously think about the difference between the two methods? Take a look at the …… -
Java drawing program_ The picture is drawn with letters
Recently, I have been studying how to "draw" pictures with letters in text editing tools. You may not know what I want…… -
Java implements the transfer of txt files in any coding mode to UTF-8 coding mode
This paper uses BufferedReader and bufferedwriter in JDK to transfer txt files of any coding mode to UTF-8 coding mode…… -
Java development_ org. apache. commons. Lang. stringutils tool class source code
I wrote an article about the difference between "" and null before. Here is the address of the article: Let's take a l…… -
Java drawing program_ The picture is drawn with letters_ Source code release_ Version 2
In the previous version: Java drawing program_ The picture is drawn with letters_ Based on the source code release, th…… -
Getalldeclaredmethods() method in httpservlet
Looking at apache-tomcat-7.0 When I saw the httpservlet in 40, I saw that the method getalldeclaredmethods () in it wa…… -
KMP algorithm (wool chip algorithm)
Here is the original text of KMP algorithm: According to the original understanding, I modified it to the Java version…… -
-
Tobinarystring() method of integer in Java
During an interview, I encountered such a question. The general meaning of the question is: let me write out the tobin…… -
Programmers, let’s write the front-end code
You can think of me as an extreme person, just as many people focus on their own fields and disdain other "superficial…… -
My Notepad
I have spent near more two weeks to write this Notepad application. At this moment,I want to share with you. I wonder …… -
Urlrewriter in Java (URL rewriting)_ Source download
Recently, I used URL rewriting in a project. How to enhance the readability of the address in your website and let the…… -
L1 cache in Hibernate
HibernateTest. java code: Operation effect: As we will see, only one select statement is used here. But we read two re…… -
Java uses POI to import data from database into Excel
< div class = "posttitle" > java uses POI to import data from database into Excel -
Java multithreading series_ Thread Introduction (1)
1、 Thread overview Thread is the basic execution unit of a program. When the operating system (excluding the single t…… -
Java development_ The difference between ” and null
I have a problem at work today: In the code: The following is the difference between null and '' in Java: -
Lucene (full text search)_ Indexing_ Full text search by keyword_ Source download
: : Add these two jar packages to the project build path Look at the project structure -
The difference between get and post methods
In the process of submitting data from the form, the method attribute provides two values: get and post. The default i…… -
@Source code analysis of controller and @ restcontroller
2018 has come to an end unknowingly. Are you still worried about being unable to distinguish @ controller and @ restco…… -
Different usage of comparable interface and comparator interface
Both can be used to define comparison methods and then used in sorting. Comparable is the interface inherited by the c…… -
Four XML parsing techniques in Java
In daily work, it is inevitable to use XML as the data storage format. In the face of a wide variety of solutions, whi…… -
FreeMarker_ Template engine_ Automatic code generator_ Source download
First, let's meet FreeMarker You can go to freemaker's official website, where there is a very detailed introduction: …… -
Java recursively reads all file names under the file path and saves them as TXT documents
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"><path <a hr……
