- 浏览: 85272 次
- 性别:
- 来自: 北京
最新评论
文章列表
http://586pe.blog.163.com/blog/static/174691302009426105252759
网吧ROS建PPPOE服务器,单机拨号上网,不要再发ARP相关的贴子了.
本人也是转载的,把好贴分离给大家.用ROS做PPPoE服务器一、创建 PPPoE server
a、进入winbox,点击 主菜单 最上面的 “Interfaces”,在弹出的“Interface list”对话框中依次点击“settings”-“PPPoE Server”
b、这时弹出“PPPoE Server list”对话框,点击左边的“+”号,“Service Name”=PPP ...
server使用convert来取得datetime日期数据,以下实例包含各种日期格式的转换语句及查询结果:Select CONVERT(varchar(100), GETDATE(), 0): 05 16 2006 10:57AMSelect CONVERT(varchar(100), GETDATE(), 1): 05/16/06Select CONVERT(varchar(100), GETDATE(), 2): 06.05.16Select CONVERT(varchar(100), GETDATE(), 3): 16/05/06Select CONVERT(varchar(100), ...
ORA-01002: fetch out of sequence
Cause: In a host language program, a FETCH call was issued out of sequence. A successful parse-and-execute call must be issued before a fetch. This can occur if an attempt was made to FETCH from an active set after all records have been fetched. This may be caused ...
设计模式之Command
Command模式是最让我疑惑的一个模式,我在阅读了很多代码后,才感觉隐约掌握其大概原理,我认为理解设计模式最主要是掌握起原理
构造,这样才对自己实际编程有指导作用.Command模式实际上不是个很具体,规 ...
http://www.360doc.com/content/08/0727/10/70655_1475254.shtml
import java.util.*;
class Dog {
public Dog(String n) { name = n; }
public String name;
public boolean equals(Object o) {
if((o instanceof Dog) &&
(((Dog)o).name == name)) {
return true;
} else {
return false;
}
}
public int hashCode() {return name.length(); }
}
class Cat { }
en ...
primitive type: 基本类型,像int、double就是。
wrapped type:包装类型,int—>Integer,double—>Decimal
基本类型跟就是不可实例化的,可以直接初始化、赋值、运算。不可调用方法,不可放入容器(要求必须是类实例才行)。
int i=10;
i++;
包装类型就是把基本类型变成一个类实例,一定要new才产生,可以调用方法,可以放入容器。
int tt=100;
tt++;
Integer kk=new Integer(tt); //tt的包装类实例
System.out.println(kk.intVal ...
public class EqualsTest {
public static void main (String [] args) {
Moof one = new Moof(8);
Moof two = new Moof(8);
if (one.equals(two)) {
System.out.println("one and two are equal");
}
}
}
class Moof {
private int moofValue;
Moof(int val) {
moofValue = val;
}
public int getM ...
Agility
improves with users' ability to rapidly and inexpensively re-provision technological infrastructure resources.[
34]
Cost
is claimed to be greatly reduced and capital expenditure
is converted to operational expenditure
.[
35]
This ostensibly lowers barriers to entry ...
今天成功在一台机器上同时安装
9i
和
10g
,遇到了很多问题
1
解压
10g
的安装文件时,报无法解压
autorun.inf
点击
setup
,提示
:
正在启动
Oracle
Universal Installer...
error:cannot create
create public synonym customers for hr.customers;
SELECT &1, "&2" FROM &3 WHERE last_name = '&4';
select * from hr.employees t where t.last_name='';
SELECT last_name, salary , hire_date FROM EMPLOYEES ORDER BY salary DESC;
SELECT last_name, salary , hire_date FROM E ...
Exploring the Struts architecture
Talking the talk
This
chapter explores the Struts framework in depth and highlights the
benefits Struts can bring to your development efforts. We believe that
once you can “talk the talk” of web architecture and design, you will be
better equi ...
uml:
visualizing
specifying
constructing
documenting
use-case diagrams
class
sequence
collaboration
statechart
activity
component
deployment
ocp(open-close principle)
Software entities should be open for extention , but closed for modification
问题的引入:
问题一:
String str1 = "abc";
String str2 = "abc";
System.out.println(str1==str2); //true
问题二:
String str1 =new String ("abc");
String str2 =new String ("abc");
System.out.println(str1==str2); // false
问题三:
String s1 = "ja";
Stri ...
http://www.oracle.com/technetwork/java/index.html