Converting compiled files and external libraries into ${intermediate.dex.file}...Running zip align on final apk...Installing ${out.debug.file} onto default emulator or device...Creating output directories if needed...Generating R.java / Manifest.java from the resources...hasCode = false. Skipping...Compiling aidl files into Java classes...hasCode = false. Skipping...hasCode = false. Skipping...simplecompile start at timehasCode = false. Skipping...simplecompile end at timehasCode = false. Skipping...-simpledex start at timehasCode = false. Skipping...-simpledex end at timePackaging resources start at timePackaging resources start at timePackaging resources end at timePackaging resources start at timePackaging resources start at timePackaging resources end at timeDebug Package: ${out.debug.file}Debug Package: ${out.debug.unaligned.file}Debug Package: ${out.debug.unaligned.file}No key.store and key.alias properties found in build.properties.Please sign ${out.unsigned.file} manuallyand run zipalign from the Android SDK tools.Signing final apk...Release Package: ${out.release.file}Unable to run 'ant uninstall', manifest.package property is not defined.
Uninstalling ${manifest.package} from the default emulator or device...Instrumenting classes from ${out.absolute.dir}/classes...Modified Android Ant Build. Available targets: generateR: Generates the R.java file for this project's resources. simplecompile: Compiles project's .java files into .class files. simpledebug: Builds the application and signs it with a debug key.Android Ant Build. Available targets: help: Displays this help. clean: Removes output files created by other targets. compile: Compiles project's .java files into .class files. debug: Builds the application and signs it with a debug key. release: Builds the application. The generated apk file must be signed before it is published. install: Installs/reinstalls the debug package onto a running emulator or device. If the application was previously installed, the signatures must match. uninstall: Uninstalls the application from a running emulator or device.
Given a sorted linked list, delete all duplicates such that each element appear only once.
For example,Given 1->1->2, return 1->2.Given 1->1->2->3->3, return&
在JDK1.5之前的单例实现方式有两种(懒汉式和饿汉式并无设计上的区别故看做一种),两者同是私有构
造器,导出静态成员变量,以便调用者访问。
第一种
package singleton;
public class Singleton {
//导出全局成员
public final static Singleton INSTANCE = new S