Recent Posts
-
java – String. Touppercase may delete accents
I have to apply for uppercase on names that may contain accents ("é", "long", etc.) >With JUnit, "é" Touppercase is…… -
Java – which J2EE Web development framework to choose for easy-to-use applications?
I want to write a simple web application on J2EE, which has the following characteristics: >I don't need any Ajax, …… -
Java implementation to find the depth and width of binary tree
This is a common operation on binary tree. To sum up: Set the data structure of the node as follows: -
Discussion on the method of overload in Java
Reload (reload method): Java allows multiple methods in a class to have the same name, but with the same name, they mu…… -
Methods for creating custom Java annotation classes
If you are already using java programming and any popular frameworks such as spring and hibernate, you should be very …… -
Method of creating zip compressed file in Java
This article describes the method of creating zip compressed files in Java. Share with you for your reference. The det…… -
Java – simple rest resource versioning in jax-rs based implementations?
The best practice of rest resource version control is to put the version information into the accept / content type he…… -
Implementation example of binary tree data structure in Java
Let's look at a specific exercise practice: The topic constructs a binary tree according to the pre order traversal se…… -
Java – the most efficient way to return common elements from two string arrays
In Java, what is the most effective way to return common elements from two string arrays? I can do it with a pair of f…… -
Java – how to control the order of bean init method in spring?
Suppose I have a bean, then I should call the init method or constructor after the init method of another bean Is it p…… -
Java – arithmetic recursion
I am trying to write a code to calculate the following for a given integer n: 1/1 + 1/2 + 1/3 ... + 1/n This is the co…… -
Graphic programmers must master 8 common sorting algorithms in Java
This article mainly introduces how Java implements eight common sorting algorithms: insert sort, bubble sort, select s…… -
Java converts object [] array to vector
What is the best way to convert an object array to a vector? JDE< 1.5 public Vector getListElements() { Vector my…… -
Java – why double When Nan is packaged in a dual instance?
I learned double from this question Nan is not equal to yourself I'm verifying this for myself and notice that if you …… -
Java uses POI to read the properties file and write it to excel
This example describes how Java uses POI to read the properties file and write it to excel. Share with you for your re…… -
Java implementation of accessing image operation examples with MySQL
1. Blob type in MySQL MySQL can store large file data, generally using blob objects. Such as pictures, videos and so o…… -
Java – liquibase: how to use it?
I'm looking for an example of how to use < where params > < / where params >, which belongs to < update…… -
Example analysis of binary search algorithm implemented in Java
This paper describes the implementation of binary search algorithm in Java. Share with you for your reference. The det…… -
Java – why can interfaces only be declared in top-level classes?
OK, I know this is the rule: I just want to know why and what might happen if interfaces were allowed to be declared i…… -
An example of an infinite loop caused by a for statement in Java
For loop is often used in java development. It is very helpful to simplify business processing and improve efficiency.…… -
Java – hidden fields in MVC
I want to use spring hidden tags in the following code Is it possible that in the following code, I have to write thes…… -
Java – how to programmatically obtain jmap histograms?
I want to programmatically get the output equivalent to jmap histo from within the monitored application I see that bi…… -
Java implementation chain surface test questions
This note has been sorted out for a whole week. Each line of code is written by yourself, and the test run is successf…… -
Java – create an array of methods
I'm designing a text - based adventure game for school progress I set each "level" as a class and each explorable area…… -
Detailed explanation of string data type conversion in Java
In Java, string is the final class, and the provided string cannot be modified. String type is often used in projects.…… -
Java – a more precise numeric data type than double?
Is there a decimal number data type that is more accurate than double precision in Java? Solution Yes, use Java math. …… -
The Java implementation reads the file names of all files in the folder (including subdirectories)
In the process of programming, it is often used to read and write files. For example, find all the file names in a fol…… -
Java – serialize “Boolean” as “1” and “0” instead of “true” and “false”
No method was found in the Boolean class to serialize Boolean values to '1' and '0' instead of 'true' and 'false' Is t…… -
Export excel file instance of Java data export function
Tables (reports) often need to be used in programming are mainly excel tables. The following is the method of writing …… -
Java – spring integration – abstractinboundfilesynchronizer does not update files
I would expect the FTP synchronization mechanism to update a changed file However, as you can see here, the file is do…… -
Java – why does a program not allow static final variables to be initialized?
I see that the following java code looks good, but it is never compiled: public class UnwelcomeGuest { public sta…… -
Three characteristics of java object-oriented
Three characteristics of java object-oriented: "encapsulation, inheritance and polymorphism". For more Java technology……