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 { …… -
Introduction to struts
1、 What is struts 2、 Struts 2 Architecture 1. The client sends a request to the servlet container (such as Tomcat). …… -
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 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…… -
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…… -
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…… -
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…… -
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…… -
Android Development notes — some summary about handler (Part I) — Android Development notes — about the use of asynctask
Following the previous article @ l_404_0 @, today we will talk about another asynchronous operation class handler that…… -
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…… -
The three frameworks of struts 2 + hibernate + spring (SSH) integrate jar packages
Struts 2 + spring 3 + Hibernate 3 framework integration 1. Each framework uses (development environment construction) …… -
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…… -
Introduction to the life cycle and working principle of Servlet
1、 Servlet lifecycle The servlet life cycle is divided into three stages: 1) initialization phase: call init() method…… -
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…… -
Gson brief notes
Introduction to gson: Gson is a Java class library provided by Google to map between Java objects and JSON data. You c…… -
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…… -
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 …… -
Data acquisition based on Java (I)
Previously, I wrote 2 articles on PHP data collection and warehousing: Data collection and warehousing based on PHP (I…… -
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…… -
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 …… -
Introduction to Shiro and construction of spring MVC + Shiro
1、 Introduction to Shiro Apache Shiro is a security framework of Java. It is a powerful and easily integrated open so…… -
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 Development notes — about file breakpoint continuation
What is breakpoint continuation? Breakpoint continuation of client software means that when downloading or uploading, …… -
Android Development Notes – realize the bottom menu bar (imitating wechat interface) Android Development Review Notes – tabhost component (I) (realize the bottom menu navigation) Android Development Review Notes – tabhost component (II) (realize the bottom menu navigation) Android Development Notes – fragment + fragmenttabhost component (realize the bottom menu of sina Weibo) Android Development Notes – viewpager component (imitating wechat guidance interface)
I don't think it's necessary to introduce what the bottom menu is. It's too common in apps on the market. Here are two…… -
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…… -
Java multithreading learning
1、 Processes and threads Process: each process has an independent code and data space (process context). Switching be……
