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…… -
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…… -
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…… -
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 …… -
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…… -
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…… -
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…… -
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……