Java
-
Data transfer: XML & JSON what you have to know
XML Basic concepts Syntax format of XML XML parsing method Dom4j usage example Generate XML Basic concepts Conversion …… -
Java interview question: try catch finally return value question
Let's look at some codes and think about the return value we get in these codes. First, return the basic type: pub…… -
Java exercise: basic data structure Exercise
1. Define a method listtest (ArrayList, list, string name) to return the index of the first occurrence of name in the …… -
ClassCastException:: cannot be cast to class java. Processing method of lang. comparable
When inserting a custom object into a data structure such as TreeSet, the following code is used: public class demo { …… -
Java Foundation: the use of JDBC with detailed code
Basic concepts JDBC architecture JDBC core components Related steps Steps to build an application Connection steps Exe…… -
Understand the principles of restful
How to explain to your wife what is restful My wife often likes to read the technical magazines I subscribe to. She ca…… -
Agent model of software design pattern (Java)
It seems that I've stopped writing for nearly half a month. I really shouldn't. in the new year, I always return to ze…… -
Simple socket communication instance based on TCP protocol (Java)
I haven't written a blog for a long time. I was busy working on the project some time ago and lost some time. I contin…… -
Android intelligent chat robot development (I) gson’s brief use notes Android intelligent chat robot development (II)
This chat robot is a bit like a popular Android application some time ago - little yellow chicken The implementation o…… -
Jsp + servlet + JavaBean development web project
1、 Operating principle: Project dependency package: JDBC database package JSP sends a request to the web-- The web re…… -
Android disklrucache is fully parsed and the best solution for hard disk cache (turn) Android efficiently loads large and multi graph solutions to effectively avoid program oom
summary I remember that a long time ago, I wrote an article "Android efficient loading big picture and multi picture s…… -
Android Development Notes – Introduction to the use of the open source project slidingmenu (imitating qq5.0 sideslip menu) Android Development Notes – Custom horizontalscrollview control (realizing qq5.0 sideslip effect)
I remember writing about this sideslip effect at the end of last year. At that time, it was realized by using the user…… -
Java read / write configuration file — brief notes on the properties class
Any programming language has its own method and format for reading and writing configuration files, and Java is no exc…… -
Introduction to struts
1、 What is struts 2、 Struts 2 Architecture 1. The client sends a request to the servlet container (such as Tomcat). …… -
Android Development Notes – high imitation Sina Weibo word processing (keyword highlighting, custom expression replacement and click event)
Let's take a look at the renderings. This is a Sina Weibo client I wrote in my spare time: Today, let's talk about how…… -
Deeply understand the refresh and expire refresh mechanisms of guava cache
1、 Thinking and guessing First, let's look at three time-based ways to clean up or refresh cached data: Expireafterac…… -
Android Development Notes – create your own blog app (I) Android Development Notes – create your own blog app (II)
Recently, there have been a lot of things. Blog updates have fallen behind again. I usually have a habit. I like to lo…… -
Factory pattern of software design pattern (Java) Java read-write configuration file — a brief note on the use of the properties class
What is the factory model? Factory mode is the most commonly used instantiation object mode. It is a mode that uses fa…… -
Introduction to Java design patterns and detailed explanation of eight common design patterns
1、 What is a design pattern Design pattern (design pattern) is a set of code design experience that is repeatedly use…… -
Solution to git pull conflict
Processing steps: 1. First store the local modifications $git stash, so that all local modifications are temporarily s…… -
Based on Android high imitation how old Net to realize face recognition and estimate age and gender. Gson’s brief notes
A few days ago, Microsoft launched the big data face recognition age application how old Net, it can quickly obtain th…… -
Android Development Notes – personalized textview (Sina Weibo)
In the past few days, I have been imitating Sina Weibo client. When processing Weibo information, I need to deal with …… -
The difference between string, StringBuilder and StringBuffer
StringBuffer, StringBuilder and string can all be used to represent strings. String class is immutable. Any change to …… -
Android Development notes — about file breakpoint continuation
What is breakpoint continuation? Breakpoint continuation of client software means that when downloading or uploading, …… -
Java multithreading learning
1、 Processes and threads Process: each process has an independent code and data space (process context). Switching be…… -
Summary of GC knowledge of garbage collection mechanism and how to make good use of GC
1、 Why GC The resource operation of an application is generally divided into the following steps: 1. Allocate memory …… -
Summary of the top ten classic sorting algorithms (including java code implementation)
0. Description of sorting algorithm 0.1 definition of sorting Sort a sequence of objects according to a keyword. 0.2 d…… -
Batch download of network pictures based on Java
Yesterday, a friend met a demand for a project. He needed to download thousands of microblog expression pictures to th…… -
Brief notes on the use of JSON lib class library
Introduction to preface: JSON lib package is a Java class library, which can convert Java objects (including beans, ma…… -
Loading mechanism of Java classes
1、 Class loading mechanism The virtual machine loads the data describing the class from the class file into memory, v…… -
Android efficiently loads large and multi graph solutions to effectively avoid program oom (turn)
The main content of this article comes from Android doc. I have done some processing after translation. Good English f…… -
Data acquisition based on Java (2)
In the previous article Java based data collection (I): http://www.cnblogs.com/lichenwei/p/3904715.html How to read th……
