package Serialize;/** * Created by hu on 2015/11/7. *///实现序列化必须实现的接口,这就是一个空接口,起到标识的作用import java.io.Serializable;/** * 用来进行序列化和反序列化的类 * */public class...
分类:
编程语言 时间:
2015-11-07 23:17:30
收藏:
0 评论:
0 赞:
0 阅读:
439
jpsLists the instrumented Java Virtual Machines (JVMs) on the target system. This command is experimental and unsupported.Synopsisjps[options] [hostid...
分类:
编程语言 时间:
2015-11-07 23:17:20
收藏:
0 评论:
0 赞:
0 阅读:
438
# -*- coding: utf-8 -*-#python 27#xiaodeng#python之函数用法isupper()#http://www.runoob.com/python/att-string-isupper.html#isupper()#说明:检测字符串中所有的字母是否都为大写'''...
分类:
编程语言 时间:
2015-11-07 23:16:20
收藏:
0 评论:
0 赞:
0 阅读:
202
参考文档:Java排序: Comparator vs Comparable 入门java类经常面临排序问题,据我所知:java提供comparable和comparator两种比较方式:1. comparable方法需要排序的类继承comparable接口,重写compareTo函数,但是只能实现一...
分类:
编程语言 时间:
2015-11-07 23:15:00
收藏:
0 评论:
0 赞:
0 阅读:
259
# -*- coding: utf-8 -*-#python 27#xiaodeng#python之函数用法endswith()#http://www.runoob.com/python/att-string-endswith.html#endswith()#说明:返回布尔值,判断字符串是否以指定后...
分类:
编程语言 时间:
2015-11-07 23:13:20
收藏:
0 评论:
0 赞:
0 阅读:
454
# -*- coding: utf-8 -*-#python 27#xiaodeng#python之函数用法islower()#http://www.runoob.com/python/att-string-islower.html#islower()#说明:检测字符串是否都由小写字母组成str =...
分类:
编程语言 时间:
2015-11-07 23:12:00
收藏:
0 评论:
0 赞:
0 阅读:
215
jconsoleStarts a graphical console that lets you monitor and manage Java applications.Synopsisjconsole[options] [ connection ... ]optionsThe command-l...
分类:
编程语言 时间:
2015-11-07 23:11:50
收藏:
0 评论:
0 赞:
0 阅读:
336
pair 默认对first升序,当first相同时对second升序;类模板:template struct pair参数:T1是第一个值的数据类型,T2是第二个值的数据类型。功能:pair将一对值组合成一个值,这一对值可以具有不同的数据类型(T1和T2),两个值可以分别用pair的两个公有函数f....
分类:
编程语言 时间:
2015-11-07 23:11:10
收藏:
0 评论:
0 赞:
0 阅读:
529
Java基础http://www.cnblogs.com/dolphin0520/category/361055.htmlJava并发编程http://www.cnblogs.com/dolphin0520/category/602384.html
分类:
编程语言 时间:
2015-11-07 23:10:50
收藏:
0 评论:
0 赞:
0 阅读:
300
jstatMonitors Java Virtual Machine (JVM) statistics. This command is experimental and unsupported.Synopsisjstat[generalOption|outputOptions vmid[inter...
分类:
编程语言 时间:
2015-11-07 23:10:40
收藏:
0 评论:
0 赞:
0 阅读:
617
# -*- coding: utf-8 -*-#python 27#xiaodeng#python之函数用法xrange()#xrange()#说明:返回一个生成器#xrange做循环的性能比range好,尤其是返回很大的时候.除非要返回一个列表,则用range.'''class xrange(ob...
分类:
编程语言 时间:
2015-11-07 23:10:30
收藏:
0 评论:
0 赞:
0 阅读:
262
javascript语句和java差不多,注意==和===区别 Untitled Document
分类:
编程语言 时间:
2015-11-07 23:10:20
收藏:
0 评论:
0 赞:
0 阅读:
182
假如定义形如"{}[]()"或者"{[()]}"的模式为valid,"[{]"或者"(("的模式为invalid,那么我们可以使用一个stack或者递归下降的方法实现.这里我先用stack实现一次.实现的思路是.当遇到开始符号时('[','{'或者'('),我们就将其push进栈。当遇到结束符号的时...
分类:
编程语言 时间:
2015-11-07 23:09:50
收藏:
0 评论:
0 赞:
0 阅读:
285
# -*- coding: utf-8 -*-#python 27#xiaodeng#python之函数用法startswith()#http://www.runoob.com/python/att-string-startswith.html#startswith()#说明:返回布尔值,用于检查字...
分类:
编程语言 时间:
2015-11-07 23:09:20
收藏:
0 评论:
0 赞:
0 阅读:
241
spring容器中bean的生命周期,beanfactory与applicationcontext中bean的生命周期的区别,实例代码演示完整周期。
分类:
编程语言 时间:
2015-11-07 23:08:50
收藏:
0 评论:
0 赞:
0 阅读:
305
class test_thread_run extends Thread{public $url;public $data;public function __construct($url){$this->url = $url;}public function run(){if(($url = $t...
分类:
编程语言 时间:
2015-11-07 23:08:30
收藏:
0 评论:
0 赞:
0 阅读:
291
基于分治法的快排,用递归实现。首先讲一下实现的过程.1.在数组中取一个数作为基准,所谓的基准就是用来对比的数.2.然后在数组中从后往前找,找到一个逆序数为止,找到之后就把它的值赋值到基准数的位,假设此逆序数的为止为j.3.然后再数组中从前往后找,找到一个逆序为止,然后把这个值赋值到j位置,假设此次逆...
分类:
编程语言 时间:
2015-11-07 23:08:20
收藏:
0 评论:
0 赞:
0 阅读:
222
1.Class.forName();2.newInstance //用这个方法必须保证类中有无参构造器3.getClassLoader4.Method[] methods=clazz.getMethods();//通过反射得到反射类中的方法都有哪些,但值得注意的是不能获取私有方法即以private....
分类:
编程语言 时间:
2015-11-07 23:07:20
收藏:
0 评论:
0 赞:
0 阅读:
268
# -*- coding: utf-8 -*-#python 27#xiaodeng#python之函数用法globals()#globals()#说明:在当前作用域下,查看全局变量'''globals(...) globals() -> dictionary Return th...
分类:
编程语言 时间:
2015-11-07 23:05:30
收藏:
0 评论:
0 赞:
0 阅读:
308
jmcJava Mission Control is a Profiling, Monitoring, and Diagnostics Tools Suite.Synopsisjmc[options]Options, if used, should follow immediately after ...
分类:
编程语言 时间:
2015-11-07 23:05:20
收藏:
0 评论:
0 赞:
0 阅读:
532