Class NSDecimalNumber

    • Constructor Detail

      • NSDecimalNumber

        protected NSDecimalNumber​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static NSDecimalNumber allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • decimalNumberWithMantissaExponentIsNegative

        @NotNull
        public static @NotNull NSDecimalNumber decimalNumberWithMantissaExponentIsNegative​(long mantissa,
                                                                                           short exponent,
                                                                                           boolean flag)
      • decimalNumberWithString

        @NotNull
        public static @NotNull NSDecimalNumber decimalNumberWithString​(@Nullable
                                                                       @Nullable java.lang.String numberValue)
      • decimalNumberWithStringLocale

        @NotNull
        public static @NotNull NSDecimalNumber decimalNumberWithStringLocale​(@Nullable
                                                                             @Nullable java.lang.String numberValue,
                                                                             @Nullable
                                                                             @Nullable java.lang.Object locale)
      • defaultBehavior

        @NotNull
        public static @NotNull NSDecimalNumberBehaviors defaultBehavior()
        compare two NSDecimalNumbers
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • maximumDecimalNumber

        @NotNull
        public static @NotNull NSDecimalNumber maximumDecimalNumber()
      • minimumDecimalNumber

        @NotNull
        public static @NotNull NSDecimalNumber minimumDecimalNumber()
      • notANumber

        @NotNull
        public static @NotNull NSDecimalNumber notANumber()
      • numberWithBool

        @NotNull
        public static @NotNull NSNumber numberWithBool​(boolean value)
      • numberWithChar

        @NotNull
        public static @NotNull NSNumber numberWithChar​(byte value)
      • numberWithDouble

        @NotNull
        public static @NotNull NSNumber numberWithDouble​(double value)
      • numberWithFloat

        @NotNull
        public static @NotNull NSNumber numberWithFloat​(float value)
      • numberWithInt

        @NotNull
        public static @NotNull NSNumber numberWithInt​(int value)
      • numberWithInteger

        @NotNull
        public static @NotNull NSNumber numberWithInteger​(long value)
      • numberWithLong

        @NotNull
        public static @NotNull NSNumber numberWithLong​(long value)
      • numberWithLongLong

        @NotNull
        public static @NotNull NSNumber numberWithLongLong​(long value)
      • numberWithShort

        @NotNull
        public static @NotNull NSNumber numberWithShort​(short value)
      • numberWithUnsignedChar

        @NotNull
        public static @NotNull NSNumber numberWithUnsignedChar​(byte value)
      • numberWithUnsignedInt

        @NotNull
        public static @NotNull NSNumber numberWithUnsignedInt​(int value)
      • numberWithUnsignedInteger

        @NotNull
        public static @NotNull NSNumber numberWithUnsignedInteger​(long value)
      • numberWithUnsignedLong

        @NotNull
        public static @NotNull NSNumber numberWithUnsignedLong​(long value)
      • numberWithUnsignedLongLong

        @NotNull
        public static @NotNull NSNumber numberWithUnsignedLongLong​(long value)
      • numberWithUnsignedShort

        @NotNull
        public static @NotNull NSNumber numberWithUnsignedShort​(char value)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setDefaultBehavior

        public static void setDefaultBehavior​(@NotNull
                                              @NotNull NSDecimalNumberBehaviors value)
        compare two NSDecimalNumbers
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • valueWithObjCType

        @NotNull
        public static @NotNull NSValue valueWithObjCType​(@NotNull
                                                         @NotNull org.moe.natj.general.ptr.ConstVoidPtr value,
                                                         @NotNull
                                                         @NotNull java.lang.String type)
      • valueWithBytesObjCType

        @NotNull
        public static @NotNull NSValue valueWithBytesObjCType​(@NotNull
                                                              @NotNull org.moe.natj.general.ptr.ConstVoidPtr value,
                                                              @NotNull
                                                              @NotNull java.lang.String type)
      • valueWithCATransform3D

        @NotNull
        public static @NotNull NSValue valueWithCATransform3D​(CATransform3D t)
      • valueWithCGAffineTransform

        @NotNull
        public static @NotNull NSValue valueWithCGAffineTransform​(CGAffineTransform transform)
      • valueWithCGPoint

        @NotNull
        public static @NotNull NSValue valueWithCGPoint​(CGPoint point)
      • valueWithCGRect

        @NotNull
        public static @NotNull NSValue valueWithCGRect​(CGRect rect)
      • valueWithCGSize

        @NotNull
        public static @NotNull NSValue valueWithCGSize​(CGSize size)
      • valueWithCGVector

        @NotNull
        public static @NotNull NSValue valueWithCGVector​(CGVector vector)
      • valueWithCMTime

        @NotNull
        public static @NotNull NSValue valueWithCMTime​(CMTime time)
      • valueWithCMTimeMapping

        @NotNull
        public static @NotNull NSValue valueWithCMTimeMapping​(CMTimeMapping timeMapping)
      • valueWithCMTimeRange

        @NotNull
        public static @NotNull NSValue valueWithCMTimeRange​(CMTimeRange timeRange)
      • valueWithMKCoordinateSpan

        @NotNull
        public static @NotNull NSValue valueWithMKCoordinateSpan​(MKCoordinateSpan span)
      • valueWithNonretainedObject

        @NotNull
        public static @NotNull NSValue valueWithNonretainedObject​(@Nullable
                                                                  @Nullable java.lang.Object anObject)
      • valueWithPointer

        @NotNull
        public static @NotNull NSValue valueWithPointer​(@Nullable
                                                        @Nullable org.moe.natj.general.ptr.ConstVoidPtr pointer)
      • valueWithRange

        @NotNull
        public static @NotNull NSValue valueWithRange​(NSRange range)
      • valueWithSCNMatrix4

        @NotNull
        public static @NotNull NSValue valueWithSCNMatrix4​(SCNMatrix4 v)
      • valueWithSCNVector3

        @NotNull
        public static @NotNull NSValue valueWithSCNVector3​(SCNVector3 v)
      • valueWithSCNVector4

        @NotNull
        public static @NotNull NSValue valueWithSCNVector4​(SCNVector4 v)
      • valueWithUIEdgeInsets

        @NotNull
        public static @NotNull NSValue valueWithUIEdgeInsets​(UIEdgeInsets insets)
      • valueWithUIOffset

        @NotNull
        public static @NotNull NSValue valueWithUIOffset​(UIOffset insets)
      • version_static

        public static long version_static()
      • compare

        public long compare​(@NotNull
                            @NotNull NSNumber decimalNumber)
        Round to the scale of the behavior.
        Overrides:
        compare in class NSNumber
      • decimalNumberByMultiplyingBy

        @NotNull
        public @NotNull NSDecimalNumber decimalNumberByMultiplyingBy​(@NotNull
                                                                     @NotNull NSDecimalNumber decimalNumber)
      • decimalNumberByMultiplyingByPowerOf10

        @NotNull
        public @NotNull NSDecimalNumber decimalNumberByMultiplyingByPowerOf10​(short power)
      • decimalNumberByMultiplyingByPowerOf10WithBehavior

        @NotNull
        public @NotNull NSDecimalNumber decimalNumberByMultiplyingByPowerOf10WithBehavior​(short power,
                                                                                          @Nullable
                                                                                          @Nullable NSDecimalNumberBehaviors behavior)
      • decimalNumberByRaisingToPower

        @NotNull
        public @NotNull NSDecimalNumber decimalNumberByRaisingToPower​(long power)
      • decimalNumberByRaisingToPowerWithBehavior

        @NotNull
        public @NotNull NSDecimalNumber decimalNumberByRaisingToPowerWithBehavior​(long power,
                                                                                  @Nullable
                                                                                  @Nullable NSDecimalNumberBehaviors behavior)
      • decimalNumberBySubtracting

        @NotNull
        public @NotNull NSDecimalNumber decimalNumberBySubtracting​(@NotNull
                                                                   @NotNull NSDecimalNumber decimalNumber)
      • descriptionWithLocale

        @NotNull
        public @NotNull java.lang.String descriptionWithLocale​(@Nullable
                                                               @Nullable java.lang.Object locale)
        Overrides:
        descriptionWithLocale in class NSNumber
      • doubleValue

        public double doubleValue()
        return 'd' for double
        Overrides:
        doubleValue in class NSNumber
      • initWithBytesObjCType

        public NSDecimalNumber initWithBytesObjCType​(@NotNull
                                                     @NotNull org.moe.natj.general.ptr.ConstVoidPtr value,
                                                     @NotNull
                                                     @NotNull java.lang.String type)
        Overrides:
        initWithBytesObjCType in class NSNumber
      • initWithMantissaExponentIsNegative

        public NSDecimalNumber initWithMantissaExponentIsNegative​(long mantissa,
                                                                  short exponent,
                                                                  boolean flag)
      • initWithString

        public NSDecimalNumber initWithString​(@Nullable
                                              @Nullable java.lang.String numberValue)
      • initWithStringLocale

        public NSDecimalNumber initWithStringLocale​(@Nullable
                                                    @Nullable java.lang.String numberValue,
                                                    @Nullable
                                                    @Nullable java.lang.Object locale)
      • objCType

        @NotNull
        public @NotNull java.lang.String objCType()
        One behavior per thread - The default behavior is rounding mode: NSRoundPlain scale: No defined scale (full precision) ignore exactnessException raise on overflow, underflow and divide by zero.
        Overrides:
        objCType in class NSValue
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
        Overrides:
        _supportsSecureCoding in class NSNumber
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.