Class NSNumber
java.lang.Object
org.eclipse.swt.internal.cocoa.id
org.eclipse.swt.internal.cocoa.NSObject
org.eclipse.swt.internal.cocoa.NSValue
org.eclipse.swt.internal.cocoa.NSNumber
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoublefloatlongintintValue()static NSNumbernumberWithBool(boolean value) static NSNumbernumberWithDouble(double value) static NSNumbernumberWithInt(int value) static NSNumbernumberWithInteger(long value) static NSValuevalueWithPoint(NSPoint point) static NSValuevalueWithRange(NSRange range) static NSValuevalueWithRect(NSRect rect) static NSValuevalueWithSize(NSSize size) Methods inherited from class NSValue
objCType, pointValue, rangeValue, rectValue, sizeValueMethods inherited from class NSObject
accessibilityAttributeValue, accessibilitySetOverrideValue, addEventListener, alloc, autorelease, cancelAuthenticationChallenge, className, conformsToProtocol, copy, 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, writeSelectionToPasteboardMethods inherited from class id
equals, hashCode, objc_getClass, toString
-
Constructor Details
-
NSNumber
public NSNumber() -
NSNumber
public NSNumber(long id) -
NSNumber
-
-
Method Details
-
boolValue
public boolean boolValue() -
doubleValue
public double doubleValue() -
floatValue
public float floatValue() -
intValue
public int intValue() -
integerValue
public long integerValue() -
numberWithBool
-
numberWithDouble
-
numberWithInt
-
numberWithInteger
-
valueWithPoint
-
valueWithRange
-
valueWithRect
-
valueWithSize
-