kenyon
BlogJava
首页
新随笔
联系
聚合
管理
随笔-0 评论-0 文章-1 trackbacks-0
测试一下
Java代码
1
implements
Cloneable
2
3
public
4
Object clone()
5
{
6
try
{
7
ThisClass obj
=
(ThisClass)
super
.clone();
8
obj.field1
=
(
int
[])field1.clone();
9
obj.field2
=
field2;
10
return
obj;
11
}
catch
(CloneNotSupportedException e)
{
12
throw
new
InternalError(
"
Unexpected CloneNotSUpportedException:
"
+
e.getMessage());
13
}
14
}
15
16
1
select
*
from
t1
where
id
=
50
1
/** */
/**
2
* Get the counters
3
*
@return
an array containing the statistical data. This array has been
4
* freshly allocated and can be modified by the caller.
5
*/
6
public
int
[] getPackets()
{
return
copyArray(packets, offset); }
7
public
int
[] getBytes()
{
return
copyArray(bytes, offset); }
8
9
public
int
[] getPackets()
{
return
packets; }
10
public
void
setPackets(
int
[] packets)
{
this
.packets
=
packets; }
11
posted on 2009-07-22 09:59
kqy
阅读(89)
评论(0)
编辑
收藏
新用户注册
刷新评论列表
只有注册用户
登录
后才能发表评论。
网站导航:
博客园
IT新闻
Chat2DB
C++博客
博问
管理
<
2025年7月
>
日
一
二
三
四
五
六
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
留言簿
给我留言
查看公开留言
查看私人留言
文章档案
2009年7月 (1)
搜索
最新评论