Class NSExpression

    • Constructor Detail

      • NSExpression

        public NSExpression()
      • NSExpression

        @Deprecated
        protected NSExpression​(long handle)
        Deprecated.
      • NSExpression

        protected NSExpression​(NSObject.Handle h,
                               long handle)
      • NSExpression

        public NSExpression​(NSCoder coder)
      • NSExpression

        public NSExpression​(java.lang.String expressionFormat,
                            NSArray<?> arguments)
        Since:
        Available in iOS 4.0 and later.
    • Method Detail

      • getConstantValue

        public NSObject getConstantValue()
      • getKeyPath

        public java.lang.String getKeyPath()
      • getFunction

        public java.lang.String getFunction()
      • getVariable

        public java.lang.String getVariable()
      • getCollection

        public NSObject getCollection()
        Since:
        Available in iOS 3.0 and later.
      • getPredicate

        public NSPredicate getPredicate()
        Since:
        Available in iOS 3.0 and later.
      • getLeftExpression

        public NSExpression getLeftExpression()
        Since:
        Available in iOS 3.0 and later.
      • getRightExpression

        public NSExpression getRightExpression()
        Since:
        Available in iOS 3.0 and later.
      • getTrueExpression

        public NSExpression getTrueExpression()
        Since:
        Available in iOS 9.0 and later.
      • getFalseExpression

        public NSExpression getFalseExpression()
        Since:
        Available in iOS 9.0 and later.
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • init

        protected long init​(NSCoder coder)
      • allowEvaluation

        public void allowEvaluation()
        Since:
        Available in iOS 7.0 and later.
      • create

        protected static long create​(java.lang.String expressionFormat,
                                     NSArray<?> arguments)
        Since:
        Available in iOS 4.0 and later.
      • createForEvaluatedObject

        public static NSExpression createForEvaluatedObject()
      • createForVariable

        public static NSExpression createForVariable​(java.lang.String string)
      • createForKeyPath

        public static NSExpression createForKeyPath​(java.lang.String keyPath)
      • createForFunction

        public static NSExpression createForFunction​(java.lang.String name,
                                                     NSArray<?> parameters)
      • createForSubquery

        public static NSExpression createForSubquery​(NSExpression expression,
                                                     java.lang.String variable,
                                                     NSPredicate predicate)
        Since:
        Available in iOS 3.0 and later.
      • createForFunction

        public static NSExpression createForFunction​(NSExpression target,
                                                     java.lang.String name,
                                                     NSArray<?> parameters)
        Since:
        Available in iOS 3.0 and later.
      • createForAnyKey

        public static NSExpression createForAnyKey()
        Since:
        Available in iOS 7.0 and later.