Enum Types.DataType

    • Enum Constant Detail

      • TENSOR

        public static final Types.DataType TENSOR
        N Dimensional numeric DataType
      • MATRIX

        public static final Types.DataType MATRIX
        Two or One Dimensional numeric DataType. We use internally Matrix for both Vectors and Matrices
      • SCALAR

        public static final Types.DataType SCALAR
        One cell numeric or String based DataType
      • FRAME

        public static final Types.DataType FRAME
        Two or One Dimensional heterogeneous DataType
      • LIST

        public static final Types.DataType LIST
        List primitive able to contain any other DataType at indexes
      • UNKNOWN

        public static final Types.DataType UNKNOWN
        Unknown DataType, used to indicate uncertainty, and for testing
      • ENCRYPTED_CIPHER

        public static final Types.DataType ENCRYPTED_CIPHER
    • Method Detail

      • values

        public static Types.DataType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Types.DataType c : Types.DataType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Types.DataType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • isMatrix

        public boolean isMatrix()
      • isTensor

        public boolean isTensor()
      • isFrame

        public boolean isFrame()
      • isMatrixOrFrame

        public boolean isMatrixOrFrame()
      • isScalar

        public boolean isScalar()
      • isList

        public boolean isList()
      • isUnknown

        public boolean isUnknown()