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