包含标签: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…… -
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…… -
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……