一、 JVM的生命周期 1. JVM实例对应了一个独立运行的java程序它是进程级别 a) 启动。启动一个Java程序时,一个JVM实例就产生了,任何一个拥有public static void main(String[] args)函数的class都可以作为JVM实例运行的起点 b) 运行。mai ...
分类:
其他好文 时间:
2016-05-13 13:53:40
阅读次数:
168
在MEF的宿主中,当我们通过Import声明导入的对象时,组装(Compose)的时候会创建该对象。例如: interface ILogger { void Log(string message); } [Export(typeof(ILogger))] class ConsoleLogger : ...
分类:
其他好文 时间:
2016-05-13 13:11:06
阅读次数:
158
package lianxi; import java.util.*; public class Yanzhengma { public static void main(String[] args) { String str="abcdefghijklmnopqrstuvwxyzABCDEFGHI ...
分类:
其他好文 时间:
2016-05-13 12:59:57
阅读次数:
194
package com.hanqi; import java.util.*; public class yanzhengma { public static void main(String[] args) { // TODO 自动生成的方法存根 String str="abcdefghijklmn ...
分类:
其他好文 时间:
2016-05-13 12:44:08
阅读次数:
112
```#include using namespace std;const int N = 10;int data[]= {6,1,2,7,9,3,4,5,10,8};void quickSort(int* data, int low,int high);void printArray(int* d... ...
分类:
编程语言 时间:
2016-05-13 12:32:41
阅读次数:
161
```#include using namespace std;const int N = 10;int data[] = {6,1,2,7,9,3,4,5,10,8};void binaryInsertSort(int* data,int n);void printArray(int* data,... ...
分类:
编程语言 时间:
2016-05-13 12:19:46
阅读次数:
148
http://www.iteye.com/problems/59467 on( String eventName, Function handler, [Object scope], [Object options] ) : void 给对象添加事件处理器 (addListener的简写形式) 给对 ...
分类:
Web程序 时间:
2016-05-13 12:17:31
阅读次数:
485
```#include using namespace std;const int N = 10;int data[] = {6,1,2,7,9,3,4,5,10,8};void quickSort(int *data,int low,int high);int partition(int *dat... ...
分类:
编程语言 时间:
2016-05-13 12:13:16
阅读次数:
287
int array[5]={1,2,3,4,5}; void text(int &array) { cout<<sizeof(array)/sizeof(array[0]); } 5 void text(int array[]) { cout<<sizeof(array)/sizeof(array[ ...
分类:
编程语言 时间:
2016-05-13 12:10:45
阅读次数:
125
ON_WM_TIMER()在编译器从32位转换为64位的时候, 出现的问题;class CFlatComboBox : public CComboBox (基类为CWnd)为了重载CWnd的函数:OnTimer(UINT nIDEvent)需要在MASSEGE_MAP()加入: ON_WM_TIME... ...
分类:
其他好文 时间:
2016-05-13 11:56:09
阅读次数:
292