yeafee@夜飞郎

it's usually better to solve problems with simplicity and finesse rather than muscle.

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  33 随笔 :: 3 文章 :: 2 评论 :: 0 Trackbacks

2007年7月11日 #

     摘要: 陷阱:
零在整数预算中不可以做除数,否则抛运行时异常。
零在浮点运算中可以做除数,返回值为无穷大。
NaN各不相同,可看做是Java设计上的一个缺陷。
浮点型(Float或Double)的除法运算可以接受任何数值,并且结果总是返回一个浮点型的数值。这个数值可能是不合法的,需要进行判断和验证。  阅读全文
posted @ 2011-05-24 13:21 @yeafee 阅读(288) | 评论 (0)编辑 收藏

     摘要: abstract class 和 interface 区别开来还是容易的。只要弄清楚描述对象本质和抽象概念的关系就好区分了。当描述对象本质和抽象概念是"is-a"关系时使用abstract来抽象描述对象;当描述对象本质和抽象概念是"like-a"关系时使用interface来抽象该对象。
  阅读全文
posted @ 2010-02-09 16:07 @yeafee 阅读(179) | 评论 (0)编辑 收藏

     摘要: StarDict  阅读全文
posted @ 2009-11-18 00:03 @yeafee 阅读(369) | 评论 (0)编辑 收藏

     摘要: SQL:Count Distinct to_Date to_Char last_day add_months Sysdae Group by  阅读全文
posted @ 2007-12-17 14:00 @yeafee 阅读(613) | 评论 (0)编辑 收藏

     摘要: CASE 是 SQL 用來做為 if-then-else 之類邏輯的關鍵字  阅读全文
posted @ 2007-12-17 11:12 @yeafee 阅读(160) | 评论 (0)编辑 收藏

     摘要: JS CheckBOX 全选   阅读全文
posted @ 2007-12-03 15:38 @yeafee 阅读(142) | 评论 (0)编辑 收藏

posted @ 2007-08-06 11:47 @yeafee 阅读(227) | 评论 (0)编辑 收藏

posted @ 2007-08-02 15:18 @yeafee 阅读(2862) | 评论 (0)编辑 收藏

     摘要: AS/400 CL (Control Language) 控制语言是用户与操作系统之间的主要接口。  阅读全文
posted @ 2007-08-02 13:54 @yeafee 阅读(761) | 评论 (0)编辑 收藏

     摘要: AS/400操作入门  阅读全文
posted @ 2007-08-01 21:47 @yeafee 阅读(469) | 评论 (0)编辑 收藏

     摘要: 简单 CASE 函数:

CASE input_expression
WHEN when_expression THEN result_expression
[ ...n ]
[
ELSE else_result_expression
END

CASE 搜索函数:

CASE
WHEN Boolean_expression THEN result_expression
[ ...n ]
[
ELSE else_result_expression
END  阅读全文
posted @ 2007-07-11 11:24 @yeafee 阅读(410) | 评论 (0)编辑 收藏

     摘要: 实例解析 几条常用的SQL操作  阅读全文
posted @ 2007-07-11 11:02 @yeafee 阅读(202) | 评论 (0)编辑 收藏