package com.doctor.java.design_pattern;import org.slf4j.logger;import org.slf4j.loggerfactory;/ Several implementations of ** * Singleton mode--"Java Development technology-experience the beauty of design patterns and algorithms in architecture" *
There are many ways to manipulate Excel using Java, and my http://blog.csdn.net/qq_20545159/article/details/45132041 price has been The following is a simple code that uses JXL to generate an XLS format for Excel.using JXL to generate Excel files
http://www.iteye.com/topic/1127319The day before yesterday the first blog to the forum, about the Java file Monitoring article, post address in: http://www.iteye.com/topic/1127281Comment on a lot of friends, download code of Friends very much, thank
Single-Case modeThe simplest, but also very difficult.To ensure that only one instance exists in a JVM, consider the following:
Java can build objects using those methods
Is Java still able to create only one instance of multithreaded
Opening and closing principle OCP (Open for extension,closed for modification). The core idea of open and close principle is that an object is opened to expansion and closed to modification.
In fact, the opening and closing principle means that
If you want to compress a folder and all its subfolders and subfolders in Java, you can take advantage of the ant plug-ins provided by Apache Corporation. It's actually a jar package.For example, if you want to compress all the files under F:\bb
Use Fat-jar to package multiple Java projects as executablesSolve the problem of packaging multiple interdependent Java projects as executables!Prerequisites: Install the Eclipse Fat-jar plugin. After you download the Fat-jar package, unzip it and
OSGI (Dynamic model system for Java)The OSGi (Open Service Gateway Initiative) technology is a dynamic model system for Java. The OSGi service platform provides services to Java, which makes Java a preferred environment for software integration and
Package Com.lipeng;public class Loopdemo {/** * thread a loops 10 times, then thread B loops 100 times, then a loops 10 times, then B loops 100 more times. So Loop 50 times. * Lipeng * 2015-4-10 * @param args */public static void main (string[] args)
Today in the project you need to parse a string of parameter ranges and then determine whether an incoming parameter is within the expression. Because the parameter range string is a combination of (0I don't know if we have a better way of dealing
class loading mechanism :The JVM loads the class file into memory and verifies, parses, and initializes the data, eventually creating a Java type that the JVM can use directly.(1) LoadingThe class file bytecode content is loaded into memory, and the
I. GENERAL articlesThe "general article" discussion issues are appropriate for most Java applications. 1.1 Create an instance of the class without the new keywordWhen you create an instance of a class with the new keyword, all constructors in the
Java gets the number of days in the month, the specified number of days, and the specified date for the corresponding weekCategory: Java2012-12-25 23:52 3201 People read comments (0) favorite reports J2sej2sejavajavajava gets the number of days
The original document of this program is from the Internet, but do not know who the author is, in some of the first thanks, I added a personal understanding inside, add comments, so easy to read and understand.The program realizes the function of
Exceptions in Java
Exception exception we can deal with, can be remedied, encountered an exception will not be executed?
Package cn.seven.shengsiyuan.exception;/* * time:2015 April 05 12:24:58, Ching Ming Festival * location:501 *
The Java heap is a run-time data area in which instances (objects) of the class allocate space. The Java Virtual machine (JVM) heap stores all objects created by running applications, which are established through directives such as new, NewArray,
Say nothing, directly on the code.The first is the node class, we all know/** * Binary tree node class * * @author heyufan * * @param */class node>{/ * * Node stored value */private T data;/** * Left child node */private node leftnode;/** * Right
Java entry-level sorting algorithm and java entry-level Algorithm
To understand insertion sorting, you must first understand and implement an algorithm --> for an array a [] that has sorted orders from large to small, insert a value so that the
Java Design Pattern builder PatternThis article continues to introduce the builder modes of the 23 design patterns series.Definition: builder mode: separates the construction of a complex object from its representation, so that different
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service