Java int Integer

http://www.cnblogs.com/haimingwey/archive/2012/04/16/2451813.html

http://developer.51cto.com/art/200906/130459.htm

 

public final class Integer

extends Number

implements Comparable<Integer>

Integer 类在对象中包装了一个基本类型 int 的值。Integer 类型的对象包含一个 int 类型的字段。

此外,该类提供了多个方法,能在 int 类型和 String 类型之间互相转换,还提供了处理 int 类型时非常有用的其他一些常量和方法。

 

 

posted on 2014-04-01 14:11  crane_practice  阅读(137)  评论(0编辑  收藏  举报

导航