Uses of Annotation Type
com.stata.sfi.ThreadSafe

Packages that use ThreadSafe
Package
Description
The Stata Function Interface (SFI) provides the classes necessary for Java to interact with core features of Stata.
  • Uses of ThreadSafe in com.stata.sfi

    Methods in com.stata.sfi with annotations of type ThreadSafe
    Modifier and Type
    Method
    Description
    static String
    SFIToolkit.formatValue(double val, String format)
    Format a value using a Stata format.
    static int
    Data.getBestType(double value)
    Get the best numeric data type for the specified value.
    static int
    Get the maximum length of a Stata string variable of type str.
    static int
    Data.getMaxVars()
    Get the maximum number of variables Stata currently allows.
    Missing.getMissing(double value)
    Get the Missing.Extended associated with a value or null if the value is not missing.
    static double
    Data.getNum(int var, long obs)
    Read a numeric value from the current Stata dataset.
    static double
    DataFrame.getNum(String rname, int var, long obs)
    Deprecated.
    Read a numeric value from a data frame.
    double
    Frame.getNum(int var, long obs)
    Read a numeric value from the frame.
    static long
    Get the number of observations in the current Stata dataset.
    static long
    DataFrame.getObsTotal(String rname)
    Deprecated.
    Get the number of observations in a data frame.
    long
    Frame.getObsTotal()
    Get the number of observations in the frame.
    static Double
    Get the double representation of a String using Stata's real() function.
    static String
    Data.getStrf(int var, long obs)
    Read a string value from the current Stata dataset; this method can be used to read str data types.
    Frame.getStrf(int index, long obs)
    Read a string value from the frame.
    static int
    Data.getStrVarWidth(int var)
    Get the width of a variable of type str.
    static int
    DataFrame.getStrVarWidth(String rname, int var)
    Deprecated.
    Get the width of a variable of type str.
    int
    Frame.getStrVarWidth(int var)
    Get the width of a variable of type str.
    static int
    Data.getType(int var)
    Get the data type for the specified variable.
    static int
    DataFrame.getType(String rname, int var)
    Deprecated.
    Get the numeric data type for the specified variable.
    int
    Frame.getType(int var)
    Get the numeric data type for the specified variable.
    static double
    Missing.getValue()
    Get the numeric value that represents the system missing value in Stata.
    static double
    Missing.getValue(Missing.Extended extendedMissing)
    Get the numeric value that represents an extended missing value in Stata.
    static int
    Get the number of variables in the current Stata dataset.
    static int
    DataFrame.getVarCount(String rname)
    Deprecated.
    Get the number of variables in a data frame.
    int
    Frame.getVarCount()
    Get the number of variables in the frame.
    static String
    Data.getVarFormat(int var)
    Get the format for a Stata variable.
    static String
    DataFrame.getVarFormat(String rname, int var)
    Deprecated.
    Get the format for a variable in a data frame.
    Frame.getVarFormat(int var)
    Get the format for a variable in the frame.
    static String
    Data.getVarLabel(int var)
    Get the label for a Stata variable.
    Frame.getVarLabel(int var)
    Get the label for a variable in the frame.
    static String
    Data.getVarName(int var)
    Get the variable name at a given variable index.
    static String
    DataFrame.getVarName(String rname, int var)
    Deprecated.
    Get the variable name at a given variable index.
    Frame.getVarName(int var)
    Get the variable name at a given variable index.
    static boolean
    Data.isAlias(int var)
    Determine if a variable is an alias for a variable in another frame.
    boolean
    Frame.isAlias(int var)
    Determine if a variable is an alias for a variable in another frame.
    static boolean
    Missing.isMissing(double value)
    Test if a value is a Stata missing.
    static boolean
    Data.isParsedIfTrue(long obs)
    Determine if an observation for the if expression qualifier used when Java was invoked is true or false.
    static boolean
    SFIToolkit.isValidName(String s)
    Check if a String is a valid Stata name.
    static boolean
    Check if a String is a valid Stata variable name.
    static boolean
    Data.isVarTypeStr(int var)
    Test if a variable is of type str.
    static boolean
    DataFrame.isVarTypeStr(String rname, int var)
    Deprecated.
    Test if a variable is of type str.
    boolean
    Frame.isVarTypeStr(int var)
    Test if a variable is of type str.
    static boolean
    Data.isVarTypeString(int var)
    Test if a variable's type is string.
    static boolean
    DataFrame.isVarTypeString(String rname, int var)
    Deprecated.
    Test if a variable is string or numeric.
    boolean
    Frame.isVarTypeString(int var)
    Test if a variable is string or numeric.
    static boolean
    Data.isVarTypeStrL(int var)
    Test if a variable is of type strL.
    static boolean
    DataFrame.isVarTypeStrL(String rname, int var)
    Deprecated.
    Test if a variable is of type strL.
    boolean
    Frame.isVarTypeStrL(int var)
    Test if a variable is of type strL.
    static String
    Data.makeVarName(String s, boolean retainCase)
    Attempt to form a valid variable name from a string.
    static int
    Data.mapParsedVarIndex(int var)
    Map the variable index from the parsed varlist.
    static boolean
    Test if a string is a Stata missing.
    static int
    SFIToolkit.pollnow()
    Request that Stata poll its GUI immediately.
    static int
    SFIToolkit.pollstd()
    Request that Stata poll its GUI at the standard interval.
    static String
    Convert the stack trace from an Exception to a String.
    static String
    Convert the stack trace from a Throwable to a String.
    static int
    DataFrame.storeNum(String rname, int var, long obs, double value)
    Deprecated.
    Store a numeric value in a data frame.
    static int
    Data.storeNumFast(int var, long obs, double value)
    Store a numeric value in the current Stata dataset.
    int
    Frame.storeNumFast(int var, long obs, double value)
    Store a numeric value in the frame.
    static int
    Data.storeStrfFast(int var, long obs, String value)
    Store a string value in the current Stata dataset; this method can be used to store str data types.
    int
    Frame.storeStrfFast(int var, long obs, String value)
    Store a string value in the frame.