Class NSScanner

    • Constructor Detail

      • NSScanner

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static NSScanner 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()
      • 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)
      • localizedScannerWithString

        @NotNull
        public static @NotNull java.lang.Object localizedScannerWithString​(@NotNull
                                                                           @NotNull java.lang.String string)
      • new_objc

        public static NSScanner new_objc()
      • resolveClassMethod

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

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

        public static NSScanner scannerWithString​(@NotNull
                                                  @NotNull java.lang.String string)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

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

        public static long version_static()
      • caseSensitive

        public boolean caseSensitive()
      • charactersToBeSkipped

        @Nullable
        public @Nullable NSCharacterSet charactersToBeSkipped()
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • initWithString

        public NSScanner initWithString​(@NotNull
                                        @NotNull java.lang.String string)
      • isAtEnd

        public boolean isAtEnd()
      • locale

        @Nullable
        public @Nullable java.lang.Object locale()
      • scanCharactersFromSetIntoString

        public boolean scanCharactersFromSetIntoString​(@NotNull
                                                       @NotNull NSCharacterSet set,
                                                       @Nullable
                                                       @Nullable org.moe.natj.general.ptr.Ptr<NSString> result)
      • scanDecimal

        public boolean scanDecimal​(@Nullable
                                   @Nullable org.moe.natj.general.ptr.VoidPtr dcm)
      • scanDouble

        public boolean scanDouble​(@Nullable
                                  @Nullable org.moe.natj.general.ptr.DoublePtr result)
      • scanFloat

        public boolean scanFloat​(@Nullable
                                 @Nullable org.moe.natj.general.ptr.FloatPtr result)
      • scanHexDouble

        public boolean scanHexDouble​(@Nullable
                                     @Nullable org.moe.natj.general.ptr.DoublePtr result)
        Corresponding to %a or %A formatting. Requires "0x" or "0X" prefix. API-Since: 2.0
      • scanHexFloat

        public boolean scanHexFloat​(@Nullable
                                    @Nullable org.moe.natj.general.ptr.FloatPtr result)
        Corresponding to %a or %A formatting. Requires "0x" or "0X" prefix. API-Since: 2.0
      • scanHexInt

        public boolean scanHexInt​(@Nullable
                                  @Nullable org.moe.natj.general.ptr.IntPtr result)
        Optionally prefixed with "0x" or "0X"
      • scanHexLongLong

        public boolean scanHexLongLong​(@Nullable
                                       @Nullable org.moe.natj.general.ptr.LongPtr result)
        Optionally prefixed with "0x" or "0X" API-Since: 2.0
      • scanInt

        public boolean scanInt​(@Nullable
                               @Nullable org.moe.natj.general.ptr.IntPtr result)
        On overflow, the below methods will return success and clamp
      • scanInteger

        public boolean scanInteger​(@Nullable
                                   @Nullable org.moe.natj.general.ptr.NIntPtr result)
        API-Since: 2.0
      • scanLocation

        public long scanLocation()
      • scanLongLong

        public boolean scanLongLong​(@Nullable
                                    @Nullable org.moe.natj.general.ptr.LongPtr result)
      • scanStringIntoString

        public boolean scanStringIntoString​(@NotNull
                                            @NotNull java.lang.String string,
                                            @Nullable
                                            @Nullable org.moe.natj.general.ptr.Ptr<NSString> result)
      • scanUnsignedLongLong

        public boolean scanUnsignedLongLong​(@Nullable
                                            @Nullable org.moe.natj.general.ptr.LongPtr result)
        API-Since: 7.0
      • scanUpToCharactersFromSetIntoString

        public boolean scanUpToCharactersFromSetIntoString​(@NotNull
                                                           @NotNull NSCharacterSet set,
                                                           @Nullable
                                                           @Nullable org.moe.natj.general.ptr.Ptr<NSString> result)
      • scanUpToStringIntoString

        public boolean scanUpToStringIntoString​(@NotNull
                                                @NotNull java.lang.String string,
                                                @Nullable
                                                @Nullable org.moe.natj.general.ptr.Ptr<NSString> result)
      • setCaseSensitive

        public void setCaseSensitive​(boolean value)
      • setCharactersToBeSkipped

        public void setCharactersToBeSkipped​(@Nullable
                                             @Nullable NSCharacterSet value)
      • setLocale

        public void setLocale​(@Nullable
                              @Nullable java.lang.Object value)
      • setScanLocation

        public void setScanLocation​(long value)
      • string

        @NotNull
        public @NotNull java.lang.String string()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.