Topic: Comparable<Byte>什么意思?

  Print this page

1.Comparable<Byte>什么意思? Copy to clipboard
Posted by: whlmdcg
Posted on: 2004-12-07 16:20

public final class Byte extends Numberimplements Comparable<Byte>
----出自JDK文档----------
这里的Comparable<Byte>是什么意思?
是指Comparable这个借口么?

给类的定义和下边的定义什么区别
public final class Byte extends Numberimplements Comparable

{不改贴名,24小时以内删除,请多为看贴的人着想}

2.Re:《新手在线等候》Comparable<Byte>什么意思? [Re: whlmdcg] Copy to clipboard
Posted by: whlmdcg
Posted on: 2004-12-07 16:44

谢了
我一换过名字了!?
TongueTongue
{以后请多注意,欢迎来CJSDN做客}

3.Re:Comparable<Byte>什么意思? [Re: whlmdcg] Copy to clipboard
Posted by: whlmdcg
Posted on: 2004-12-07 16:54

能帮我解答上边的问题么?

4.Re:Comparable<Byte>什么意思? [Re: whlmdcg] Copy to clipboard
Posted by: breezehou
Posted on: 2004-12-10 10:43

这是java1.5的特性,java1.5开始支持泛型,和C++模板类似。


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923