public class NSNumber extends NSValue
| Constructor and Description |
|---|
NSNumber() |
NSNumber(id id) |
NSNumber(int id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
boolValue() |
double |
doubleValue() |
float |
floatValue() |
int |
integerValue() |
int |
intValue() |
static NSNumber |
numberWithBool(boolean value) |
static NSNumber |
numberWithDouble(double value) |
static NSNumber |
numberWithInt(int value) |
static NSNumber |
numberWithInteger(int value) |
static NSValue |
valueWithPoint(NSPoint point) |
static NSValue |
valueWithRange(NSRange range) |
static NSValue |
valueWithRect(NSRect rect) |
static NSValue |
valueWithSize(NSSize size) |
objCType, pointValue, rangeValue, rectValue, sizeValueaccessibilityAttributeValue, accessibilitySetOverrideValue, addEventListener, alloc, autorelease, cancelAuthenticationChallenge, className, conformsToProtocol, copy, dealloc, description, draggedImage, draggingDestinationWindow, draggingLocation, draggingPasteboard, draggingSourceOperationMask, handleEvent, init, isEqual, isEqualTo, isKindOfClass, mutableCopy, outlineView, outlineView, outlineView, outlineView, performSelector, performSelectorOnMainThread, readSelectionFromPasteboard, release, respondsToSelector, retain, retainCount, setValue, superclass, tableView, tableView, tableView, useCredential, valueForKey, writeSelectionToPasteboardequals, hashCode, objc_getClass, toStringpublic NSNumber()
public NSNumber(int id)
public NSNumber(id id)
public boolean boolValue()
public double doubleValue()
public float floatValue()
public int intValue()
public int integerValue()
public static NSNumber numberWithBool(boolean value)
public static NSNumber numberWithDouble(double value)
public static NSNumber numberWithInt(int value)
public static NSNumber numberWithInteger(int value)