Class NSNumber


  • public class NSNumber
    extends NSValue
    • Constructor Detail

      • NSNumber

        public NSNumber()
      • NSNumber

        public NSNumber​(long id)
      • NSNumber

        public NSNumber​(id id)
    • Method Detail

      • boolValue

        public boolean boolValue()
      • doubleValue

        public double doubleValue()
      • floatValue

        public float floatValue()
      • intValue

        public int intValue()
      • integerValue

        public long integerValue()
      • numberWithBool

        public static NSNumber numberWithBool​(boolean value)
      • numberWithDouble

        public static NSNumber numberWithDouble​(double value)
      • numberWithInt

        public static NSNumber numberWithInt​(int value)
      • numberWithInteger

        public static NSNumber numberWithInteger​(long value)
      • valueWithPoint

        public static NSValue valueWithPoint​(NSPoint point)
      • valueWithRange

        public static NSValue valueWithRange​(NSRange range)
      • valueWithRect

        public static NSValue valueWithRect​(NSRect rect)
      • valueWithSize

        public static NSValue valueWithSize​(NSSize size)