Documentation of 'org.matheclipse.core.convert.Object2Expr' Java class
Object2Expr
org.matheclipse.core.convert

Class Object2Expr



  • public class Object2Expr
    extends java.lang.Object
    Converts objects into an IExpr expression
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static Object2Expr CONST
      Typical instance of an java.lang.Object to IExpr converter
    • Constructor Summary

      Constructors 
      Constructor and Description
      Object2Expr(java.lang.Class sType, java.lang.Class tType) 
    • Field Detail

      • CONST

        public static final Object2Expr CONST
        Typical instance of an java.lang.Object to IExpr converter
    • Constructor Detail

      • Object2Expr

        public Object2Expr(java.lang.Class sType,
                           java.lang.Class tType)
    • Method Detail

      • convert

        public IExpr convert(java.lang.Object obj)
                      throws ConversionException
        Converts the following J Java Object -> MathEclipse object ------------------------------------- null object Null symbol IExpr IExpr type Boolean True or False symbol BigInteger Integer value java.math.BigInteger Integer value BigDecimal Double with doubleValue() value Double Double with doubleValue() value Float Double with doubleValue() value Number Integer with longValue() value java.util.List 0-th element of the list gives the head of the function 1..nth element of the list give the arguments of the function Object[] a list of converted objects int[] a list of IntegerSymInteger values double[] a list of Num values double[][] a matrix (i.e. nested lists) of Double values Complex[] a list of ComplexNum values boolean[] a list of True or False symbols
        Throws:
        ConversionException

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.