文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>[Java] The Primitive Type & Wrapper

[Java] The Primitive Type & Wrapper

时间:2010-09-13  来源:web_surf

  1. Package
    The package for wrapper is java.lang.
  2. Wrapper Objective
    • Transform primitive type to/from string
    • Defined some useful constants for primitive type
    • Defined some useful methods for primitive type
  3. Number
    It is the parent class of wrapper classes.
  4. boolean & Boolean (ture or false)
  5. byte & Byte (8-bit)
  6. short & Short (16-bit)
  7. int & Integer (32-bit)
  8. long & Long (64-bit)
  9. float & Float (32-bit)
  10. double & Double (64-bit)
  11. char & Character (16-bit Unicode character)
  12. void & Void
  13. Others
    • java.math.BigInteger & java.math.BigDecimal
      Defined useful math's methods for big(large) integer/decimal, such as abs, sin, cos, log, random, round.
    • Buffer
      Defined in package java.nio, it is used to handle a buffer of data.
      1. ByteBuffer
      2. ShortBuffer
      3. IntBufer
      4. LongBuffer
      5. CharBuffer
      6. FloatBuffer
      7. DoubleBuffer
    • xxx
  14. xxx
相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载