JAVA 枚举定义常用方法: 1、static Enum valueOf(Class
enum,String name) 返回指定name的枚举类型 2、Static Enum values[] 返回枚举常量集合package
com.rhythmk.filedemo;import java...
分类:
编程语言 时间:
2014-04-28 07:01:10
阅读次数:
575
name=3cc68cfc60b87e6dd6887d8a.jpgmodificationdate=WedApr2115:48:30UTC+08002010filestatus=-1post=[objectObject]type=.jpgindex=0size=29006creationdate=W...
分类:
Web程序 时间:
2014-04-28 06:55:19
阅读次数:
828
索引(Index)是帮助mysql高效获取数据的数据结构。对于高性能非常关键。索引的重要性主要体现在数据量非常大的时候。规模小,负载轻的数据库即使没有索引也可以获到好的查询效果例如:1
mysql>select first_name from actor where actor_id=5;改索引列位...
分类:
数据库 时间:
2014-04-28 06:31:23
阅读次数:
959
form表单 连接地址方式如action="4.23zuoyeer.php"
后面为连接的地址,连接的方法为method="post" ,可以用post
也可以用get但是post通常用于php,get通常用于JS和css中的a标签连接到另外一个页面中的写法如下:$ty = $_POST["user...
分类:
其他好文 时间:
2014-04-28 05:28:24
阅读次数:
331
prototype 原型。我们每创建一个函数 都会创建一个
prototype的属性,这个属性指向了这个函数的原型对象。function A(){} ,A.prototype
,prototype原型只能运用在对象上,不能运用在对象的实例上 也就是说A.prototype 是可以的 var a=ne...
分类:
Web程序 时间:
2014-04-28 05:00:54
阅读次数:
545
using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using System.Linq;using System.Text;u...
分类:
Windows程序 时间:
2014-04-28 04:36:58
阅读次数:
1052
1.创建数据库:create database database_name;2.选择数据库:use
database_name;3.创建表:create table tablename(column1 data_type1, column2
data_type2,...,columnn dataty...
分类:
数据库 时间:
2014-04-28 02:34:53
阅读次数:
560
为了方便自己测试和监控,写了三个监控的脚本。 分别监控:
主机【cpu,mem,disk,fs,net】 oracle mysql 脚本如下:hmon.py: monitor Linux os system
including cpu,memory,disk,net,file s...
分类:
数据库 时间:
2014-04-28 01:27:52
阅读次数:
765
本人有一段代码关于"~"运算符 public class m{ public static
void main(String[] args){ int x=~5; System.out.println(x); ...
分类:
其他好文 时间:
2014-04-28 00:48:41
阅读次数:
326
using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using System.Linq;using System.Text;u...
分类:
Windows程序 时间:
2014-04-27 23:51:43
阅读次数:
1188