<A class=referer href="http:// www.2cto.com " target=_blank minmax_bound="true">@interface</A> NSNumber : NSValue
02
03 - (char)charValue;
04 - (unsigned char)unsignedCharValue;
05 - (short)shortValue;
06 - (unsigned short)unsignedShortValue;
07 - (int)intValue;
08 - (unsigned int)unsignedIntValue;
09 - (long)longValue;
10 - (unsigned long)unsignedLongValue;
11 - (long long)longLongValue;
12 - (unsigned long long)unsignedLongLongValue;
13 - (float)floatValue;
14 - (double)doubleValue;
15 - (BOOL)boolValue;
16 - (NSInteger)integerValue NS_AVAILABLE(10_5, 2_0);
17 - (NSUInteger)unsignedIntegerValue NS_AVAILABLE(10_5, 2_0);
18
19 - (NSString *)stringValue;
20
21 - (NSComparisonResult)compare:(NSNumber *)otherNumber;
22
23 - (BOOL)isEqualToNumber:(NSNumber *)number;
24
25 - (NSString *)descriptionWithLocale:(id)locale;
26
27 <A class=referer href="http://my.oschina.net/u/567204" target=_blank minmax_bound="true">@end</A>
28
29 <A class=referer href="http://my.oschina.net/interface" target=_blank minmax_bound="true">@interface</A> NSNumber (NSNumberCreation)
30
31 - (id)initWithChar:(char)value;
32 - (id)initWithUnsignedChar:(unsigned char)value;
33 - (id)initWithShort:(short)value;
34 - (id)initWithUnsignedShort:(unsigned short)value;
35 - (id)initWithInt:(int)value;
36 - (id)initWithUnsignedInt:(unsigned int)value;
37 - (id)initWithLong:(long)value;
38 - (id)initWithUnsignedLong:(unsigned long)value;
39 - (id)initWithLongLong:(long long)value;
40 - (id)initWithUnsignedLongLong:(unsigned long long)value;
41 - (id)initWithFloat:(float)value;
42 - (id)initWithDouble:(double)value;
43 - (id)initWithBool:(BOOL)value;
44 - (id)initWithInteger:(NSInteger)value NS_AVAILABLE(10_5, 2_0);
45 - (id)initWithUnsignedInteger:(NSUInteger)value NS_AVAILABLE(10_5, 2_0);
46
47 + (NSNumber *)numberWithChar:(char)value;
48 + (NSNumber *)numberWithUnsignedChar:(unsigned char)value;
49 + (NSNumber *)numberWithShort:(short)value;
50 + (NSNumber *)numberWithUnsignedShort:(unsigned short)value;
51 + (NSNumber *)numberWithInt:(int)value;
52 + (NSNumber *)numberWithUnsignedInt:(unsigned int)value;
53 + (NSNumber *)numberWithLong:(long)value;
54 + (NSNumber *)numberWithUnsignedLong:(unsigned long)value;
55 + (NSNumber *)numberWithLongLong:(long long)value;
56 + (NSNumber *)numberWithUnsignedLongLong:(unsigned long long)value;
57 + (NSNumber *)numberWithFloat:(float)value;
58 + (NSNumber *)numberWithDouble:(double)value;
59 + (NSNumber *)numberWithBool:(BOOL)value;
60 + (NSNumber *)numberWithInteger:(NSInteger)value NS_AVAILABLE(10_5, 2_0);
61 + (NSNumber *)numberWithUnsignedInteger:(NSUInteger)value NS_AVAILABLE(10_5, 2_0);
62
63 <A class=referer href="http:// www.2cto.com " target=_blank minmax_bound="true">@end</A>