package com.ray.object;
/**
* 不用main方法,也可以打印Hello World!
*
* @author ray
* @since 2015-04-29
* @version 1.0
*
*/
public class Person {
static {
System.out.println("Hello World!");
Syste...
分类:
其他好文 时间:
2015-04-29 11:50:31
阅读次数:
126
代码演示: //数据库中去的日期 ??Date?s?=?list.get(0).getSdate(); ??System.out.println(s);//?Tue?Apr?28?00:00:00?CST?2015 ??//手动new ??Date?d?=?new?Date(); ??System.out.prin...
分类:
编程语言 时间:
2015-04-29 10:19:13
阅读次数:
162
栈1 栈的概念
栈(Stack):是限制在表的一端进行插入和删除操作的线性表。又称为后进先出LIFO (Last In First Out)或先进后出FILO (First In Last Out)线性表。
栈顶(Top):允许进行插入、删除操作的一端,又称为表尾。用栈顶指针(top)来指示栈顶元素。
栈底(Bottom):是固定端,又称为表头。
空栈:当表中没有元...
分类:
其他好文 时间:
2015-04-29 09:55:40
阅读次数:
127
解题报告 之 POJ3057 Evacuation 最大流 动态流 更新残余网络 多次增广
Fires can be disastrous, especially when a fire breaks out in a room that is completely filled with people. Rooms usually have a couple of exits and emergency exits, but with everyone rushing out at the same t...
分类:
其他好文 时间:
2015-04-28 23:04:05
阅读次数:
340
MAC OS自带了OpenSSL,直接在命令行里使用OPENSSL就可以。打开命令行工具,然后输入 openssl打开openssl,接着只要三句命令就可以搞定。第一句命令生成1024位私钥;OpenSSL>genrsa -out rsa_private_key.pem 1024第二句命令把RSA私...
分类:
系统相关 时间:
2015-04-28 20:29:17
阅读次数:
192
UIManager.LookAndFeelInfo []info=UIManager.getInstalledLookAndFeels() ; //获取风格
for(UIManager.LookAndFeelInfo tem:info)
{
System.out.println(tem.getClassName());
}
UIManager...
语法:transition-timing-function: linear|ease|ease-in|ease-out|ease-in-out|cubic-bezier(n,n,n,n);通过 cubic-bezier 来规定速度曲线lineareaseease-inease-outease-in-...
分类:
Web程序 时间:
2015-04-28 17:46:09
阅读次数:
304
在一些日常业务中,总有一些长时间处理的任务,系统运行这些任务需要一晚甚至一个周末。 这就需要后台运行单元(background work process)来完成,而且其是不会发生超时(time out) 错误的。 进程(job)有下面几种类型: 时间驱动(Time-driven job):按照用户预...
分类:
其他好文 时间:
2015-04-28 17:41:40
阅读次数:
289
队列(Queue):模拟队列的数据操作。例如,排队买票就是一个队列操作,后来的人排在后面,先来的人排在前面,并且买票请求先被处理。为了模拟队列的操作,Queue在ArrayList的基础上加入了以下限制1.元素采用先入先出机制(FIFO,First In First Out),即先进入队列的元素必须...
执行: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gdb out/target/product/rk30sdk/symbols/system/bin/app_process报错: ....
分类:
移动开发 时间:
2015-04-28 13:32:20
阅读次数:
230