- addVarByte(String) - Static method in class com.stata.sfi.Data
-
Add a variable of type byte to the current Stata dataset.
- addVarByte(String, String) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Add a variable of type byte to a data frame.
- addVarByte(String) - Method in class com.stata.sfi.Frame
-
Add a variable of type byte to the frame.
- addVarDouble(String) - Static method in class com.stata.sfi.Data
-
Add a variable of type double to the current Stata dataset.
- addVarDouble(String, String) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Add a variable of type double to a data frame.
- addVarDouble(String) - Method in class com.stata.sfi.Frame
-
Add a variable of type double to the frame.
- addVarFloat(String) - Static method in class com.stata.sfi.Data
-
Add a variable of type float to the current Stata dataset.
- addVarFloat(String, String) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Add a variable of type float to a data frame.
- addVarFloat(String) - Method in class com.stata.sfi.Frame
-
Add a variable of type float to the frame.
- addVarInt(String) - Static method in class com.stata.sfi.Data
-
Add a variable of type int to the current Stata dataset.
- addVarInt(String, String) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Add a variable of type int to a data frame.
- addVarInt(String) - Method in class com.stata.sfi.Frame
-
Add a variable of type int to the frame.
- addVarLong(String) - Static method in class com.stata.sfi.Data
-
Add a variable of type long to the current Stata dataset.
- addVarLong(String, String) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Add a variable of type long to a data frame.
- addVarLong(String) - Method in class com.stata.sfi.Frame
-
Add a variable of type long to the frame.
- addVarStr(String, int) - Static method in class com.stata.sfi.Data
-
Add a variable of type str to the current Stata dataset.
- addVarStr(String, String, int) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Add a variable of type str to a data frame.
- addVarStr(String, int) - Method in class com.stata.sfi.Frame
-
Add a variable of type str to the frame.
- addVarStrL(String) - Static method in class com.stata.sfi.Data
-
Add a variable of type strL to the current Stata dataset.
- addVarStrL(String, String) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Add a variable of type strL to a data frame.
- addVarStrL(String) - Method in class com.stata.sfi.Frame
-
Add a variable of type strL to the frame.
- allocate(String) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Allocate a new data frame.
- allocateStrL(StrLConnector, long) - Static method in class com.stata.sfi.Data
-
Allocate a
strL so that a buffer can be stored using
writeBytes
; the contents
of the
strL will not be initialized.
- allocateStrL(StrLConnector, long, boolean) - Static method in class com.stata.sfi.Data
-
Allocate a
strL so that a buffer can be stored using
writeBytes
; the contents
of the
strL will not be initialized.
- allocateStrL(StrLConnector, long) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Allocate a
strL so that a buffer can be stored using
writeBytes
; the contents
of the
strL will not be initialized.
- allocateStrL(StrLConnector, long, boolean) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Allocate a
strL so that a buffer can be stored using
writeBytes
; the contents
of the
strL will not be initialized.
- allocateStrL(StrLConnector, long) - Method in class com.stata.sfi.Frame
-
Allocate a
strL so that a buffer can be stored using
writeBytes
; the contents
of the
strL will not be initialized.
- allocateStrL(StrLConnector, long, boolean) - Method in class com.stata.sfi.Frame
-
Allocate a
strL so that a buffer can be stored using
writeBytes
; the contents
of the
strL will not be initialized.
- getAt(double[], int, int, int) - Static method in class com.stata.sfi.Matrix
-
Access an element of a previously obtained Stata matrix in the form of a
one-dimensional array.
- getBestType(double) - Static method in class com.stata.sfi.Data
-
Get the best numeric data type for the specified value.
- getCallerVersion() - Static method in class com.stata.sfi.SFIToolkit
-
Get the version number of the calling program.
- getComplexAt(double[], int, int, int) - Static method in class com.stata.sfi.Mata
-
Get an element from a previously returned matrix.
- getComplexValues(double[], Double, Double) - Static method in class com.stata.sfi.Mata
-
Get the real and imaginary parts from a complex result.
- getDtaChar(String) - Static method in class com.stata.sfi.Characteristic
-
Get a characteristic for the current dataset.
- getErrorCode() - Method in exception com.stata.sfi.SFIException
-
Returns The error code.
- getFormattedValue(int, long, boolean) - Static method in class com.stata.sfi.Data
-
Read a value from the current Stata dataset, applying its display format.
- getFormattedValue(int, long, boolean) - Method in class com.stata.sfi.Frame
-
Read a value from the frame, applying its display format.
- getFrameAt(int) - Static method in class com.stata.sfi.Frame
-
Utility method for getting the name of a Stata frame at a given index.
- getFrameCount() - Static method in class com.stata.sfi.Frame
-
Utility method for getting the number of frames in Stata.
- getGlobal(String) - Static method in class com.stata.sfi.Macro
-
Get the contents of a global macro.
- getGlobal(String, int) - Static method in class com.stata.sfi.Macro
-
Get the contents of a global macro.
- getGlobalSafe(String) - Static method in class com.stata.sfi.Macro
-
Get the contents of a global macro without returning null.
- getGlobalSafe(String, int) - Static method in class com.stata.sfi.Macro
-
Get the contents of a global macro without returning null.
- getLabel(String, int) - Static method in class com.stata.sfi.ValueLabel
-
Get the label for a specified value-label value.
- getLabels(String) - Static method in class com.stata.sfi.ValueLabel
-
Get the labels for a specified value-label name.
- getLocal(String) - Static method in class com.stata.sfi.Macro
-
Get the contents of a local macro.
- getLocalSafe(String) - Static method in class com.stata.sfi.Macro
-
Get the contents of a local macro without returning null.
- getMataColTotal(String) - Static method in class com.stata.sfi.Mata
-
Get the number of columns in a Mata matrix.
- getMataComp(String) - Static method in class com.stata.sfi.Mata
-
- getMataCompAt(String, long, long) - Static method in class com.stata.sfi.Mata
-
Read a complex Mata matrix element.
- getMataEltype(String) - Static method in class com.stata.sfi.Mata
-
Get the type of a Mata object.
- getMataReal(String) - Static method in class com.stata.sfi.Mata
-
- getMataRealAt(String, long, long) - Static method in class com.stata.sfi.Mata
-
Read a real Mata matrix element.
- getMataRowTotal(String) - Static method in class com.stata.sfi.Mata
-
Get the number of rows in a Mata matrix.
- getMataString(String) - Static method in class com.stata.sfi.Mata
-
- getMataStringAt(String, long, long) - Static method in class com.stata.sfi.Mata
-
Read a string Mata matrix element.
- getMatrix(String) - Static method in class com.stata.sfi.Matrix
-
Get the data in a Stata matrix.
- getMatrixCol(String) - Static method in class com.stata.sfi.Matrix
-
Get the number of columns in a Stata matrix.
- getMatrixColNames(String) - Static method in class com.stata.sfi.Matrix
-
Get the column names of a Stata matrix.
- getMatrixRow(String) - Static method in class com.stata.sfi.Matrix
-
Get the number of rows in a Stata matrix.
- getMatrixRowNames(String) - Static method in class com.stata.sfi.Matrix
-
Get the row names of a Stata matrix.
- getMaxStrLength() - Static method in class com.stata.sfi.Data
-
Get the maximum length of a Stata string variable of type str.
- getMaxVars() - Static method in class com.stata.sfi.Data
-
Get the maximum number of variables Stata currently allows.
- getMissingValue() - Static method in class com.stata.sfi.Data
-
- getNames() - Static method in class com.stata.sfi.ValueLabel
-
Get the names of all value labels in the current dataset.
- getNum(int, long) - Static method in class com.stata.sfi.Data
-
Read a numeric value from the current Stata dataset.
- getNum(String, int, long) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Read a numeric value from a data frame.
- getNum(int, long) - Method in class com.stata.sfi.Frame
-
Read a numeric value from the frame.
- getObsParsedIn1() - Static method in class com.stata.sfi.Data
-
Get the first in a range of observations if javacall was called
with the in qualifier.
- getObsParsedIn2() - Static method in class com.stata.sfi.Data
-
Get the last in a range of observations if javacall was called
with the in qualifier.
- getObsTotal() - Static method in class com.stata.sfi.Data
-
Get the number of observations in the current Stata dataset.
- getObsTotal(String) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Get the number of observations in a data frame.
- getObsTotal() - Method in class com.stata.sfi.Frame
-
Get the number of observations in the frame.
- getParsedVarCount() - Static method in class com.stata.sfi.Data
-
Get the number of variables specified when javacall was called.
- getPosition() - Method in class com.stata.sfi.StrLConnector
-
Get the current access position.
- getRealAt(double[], int, int, int) - Static method in class com.stata.sfi.Mata
-
Get an element from a previously returned matrix.
- getRealOfString(String) - Static method in class com.stata.sfi.Data
-
Get the double representation of a
String
using Stata's
real() function.
- getSavedPref(String, String, String) - Static method in class com.stata.sfi.util.Preference
-
Get a saved preference.
- getSize() - Method in class com.stata.sfi.StrLConnector
-
Get the total number of bytes available in the strL.
- getStr(int, long) - Static method in class com.stata.sfi.Data
-
Read a string value from the current Stata dataset.
- getStr(String, int, long) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Read a string value from a data frame.
- getStr(int, long) - Method in class com.stata.sfi.Frame
-
Read a string value from the frame.
- getStrf(int, long) - Static method in class com.stata.sfi.Data
-
Read a string value from the current Stata dataset.
- getStrf(int, long) - Method in class com.stata.sfi.Frame
-
Read a string value from the frame.
- getString(String) - Static method in class com.stata.sfi.Scalar
-
Get the contents of a Stata string scalar.
- getString(String, int) - Static method in class com.stata.sfi.Scalar
-
Get the contents of a Stata string scalar.
- getStringAt(String[], int, int, int) - Static method in class com.stata.sfi.Mata
-
Get an element from a previously returned matrix.
- getStrVarWidth(int) - Static method in class com.stata.sfi.Data
-
Get the width of a variable of type str.
- getStrVarWidth(String, int) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Get the width of a variable of type str.
- getStrVarWidth(int) - Method in class com.stata.sfi.Frame
-
Get the width of a variable of type str.
- getTempFile() - Static method in class com.stata.sfi.SFIToolkit
-
Get a valid Stata temporary filename.
- getTempName() - Static method in class com.stata.sfi.SFIToolkit
-
Get a valid Stata temporary name.
- getType(int) - Static method in class com.stata.sfi.Data
-
Get the data type for the specified variable.
- getType(String, int) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Get the numeric data type for the specified variable.
- getType(int) - Method in class com.stata.sfi.Frame
-
Get the numeric data type for the specified variable.
- getValue() - Static method in class com.stata.sfi.Missing
-
Get the numeric value that represents the system missing value in Stata.
- getValue(Missing.Extended) - Static method in class com.stata.sfi.Missing
-
Get the numeric value that represents an extended missing value in Stata.
- getValue(String) - Static method in class com.stata.sfi.Scalar
-
Get the contents of a Stata scalar.
- getValue(String, int) - Static method in class com.stata.sfi.Scalar
-
Get the contents of a Stata scalar.
- getValueLabels(String) - Static method in class com.stata.sfi.ValueLabel
-
Get the values and labels for a specified value-label name.
- getValues(String) - Static method in class com.stata.sfi.ValueLabel
-
Get the values associated with a single value-label name.
- getVarCount() - Static method in class com.stata.sfi.Data
-
Get the number of variables in the current Stata dataset.
- getVarCount(String) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Get the number of variables in a data frame.
- getVarCount() - Method in class com.stata.sfi.Frame
-
Get the number of variables in the frame.
- getVarFormat(int) - Static method in class com.stata.sfi.Data
-
Get the format for a Stata variable.
- getVarFormat(String, int) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Get the format for a variable in a data frame.
- getVarFormat(int) - Method in class com.stata.sfi.Frame
-
Get the format for a variable in the frame.
- getVariableChar(String, String) - Static method in class com.stata.sfi.Characteristic
-
Get a characteristic for a variable in the current dataset.
- getVarIndex(String) - Static method in class com.stata.sfi.Data
-
Look up the variable index for the specified name in the current Stata
dataset.
- getVarIndex(String, String) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Look up the variable index for the specified name in the data frame.
- getVarIndex(String) - Method in class com.stata.sfi.Frame
-
Look up the variable index for the specified variable name in the frame.
- getVarLabel(int) - Static method in class com.stata.sfi.Data
-
Get the label for a Stata variable.
- getVarLabel(int) - Method in class com.stata.sfi.Frame
-
Get the label for a variable in the frame.
- getVarName(int) - Static method in class com.stata.sfi.Data
-
Get the variable name at a given variable index.
- getVarName(String, int) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Get the variable name at a given variable index.
- getVarName(int) - Method in class com.stata.sfi.Frame
-
Get the variable name at a given variable index.
- getVarValueLabel(int) - Static method in class com.stata.sfi.ValueLabel
-
Get the value-label name associated with a variable.
- getWorkingDir() - Static method in class com.stata.sfi.SFIToolkit
-
Get the current Stata working directory.
- isBinary() - Method in class com.stata.sfi.StrLConnector
-
Determine if the attached strL has been marked as binary.
- isLinux() - Static method in class com.stata.sfi.util.Platform
-
Determine if the platform is Linux.
- isMac() - Static method in class com.stata.sfi.util.Platform
-
Determine if the platform is Mac OS.
- isMac(String) - Static method in class com.stata.sfi.util.Platform
-
Determine if the platform is Mac and the version is greater than or equal
to the version specified.
- isMissing(double) - Static method in class com.stata.sfi.Missing
-
Test if a value is a Stata missing.
- isParsedIfTrue(long) - Static method in class com.stata.sfi.Data
-
Determine if an observation for the if expression qualifier used
with javacall is true or false.
- isSolaris() - Static method in class com.stata.sfi.util.Platform
-
Determine if the platform is Solaris.
- isStataMissing(String) - Static method in class com.stata.sfi.Data
-
- isTypeComplex(String) - Static method in class com.stata.sfi.Mata
-
Determine if the matrix type is complex.
- isTypeReal(String) - Static method in class com.stata.sfi.Mata
-
Determine if the matrix type is real.
- isTypeString(String) - Static method in class com.stata.sfi.Mata
-
Determine if the matrix type is string.
- isUnix() - Static method in class com.stata.sfi.util.Platform
-
Determine if the platform is Unix or Linux.
- isValidName(String) - Static method in class com.stata.sfi.SFIToolkit
-
Check if a
String
is a valid Stata name.
- isValidVariableName(String) - Static method in class com.stata.sfi.SFIToolkit
-
Check if a
String
is a valid Stata variable name.
- isValueMissing(double) - Static method in class com.stata.sfi.Data
-
- isVarlistSpecified() - Static method in class com.stata.sfi.Data
-
Determine if a varlist was specified with javacall.
- isVarTypeStr(int) - Static method in class com.stata.sfi.Data
-
Test if a variable is of type str.
- isVarTypeStr(String, int) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Test if a variable is of type str.
- isVarTypeStr(int) - Method in class com.stata.sfi.Frame
-
Test if a variable is of type str.
- isVarTypeString(int) - Static method in class com.stata.sfi.Data
-
Test if a variable's type is string.
- isVarTypeString(String, int) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Test if a variable is string or numeric.
- isVarTypeString(int) - Method in class com.stata.sfi.Frame
-
Test if a variable is string or numeric.
- isVarTypeStrL(int) - Static method in class com.stata.sfi.Data
-
Test if a variable is of type strL.
- isVarTypeStrL(String, int) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Test if a variable is of type strL.
- isVarTypeStrL(int) - Method in class com.stata.sfi.Frame
-
Test if a variable is of type strL.
- isWindows() - Static method in class com.stata.sfi.util.Platform
-
Determine if the platform is Windows.
- isWindows(double) - Static method in class com.stata.sfi.util.Platform
-
Determine if the platform is Windows and the version is greater than or
equal to the version specified.
- Scalar - Class in com.stata.sfi
-
This class provides access to Stata scalars.
- setDtaChar(String, String) - Static method in class com.stata.sfi.Characteristic
-
Set a characteristic for the current dataset.
- setGlobal(String, String) - Static method in class com.stata.sfi.Macro
-
Set the value of a global macro.
- setGlobal(String, String, int) - Static method in class com.stata.sfi.Macro
-
Set the value of a global macro.
- setGlobal(String, String, int, int) - Static method in class com.stata.sfi.Macro
-
Set the value of a global macro.
- setGlobal(String, String, int, String) - Static method in class com.stata.sfi.Macro
-
Set the value of a global macro.
- setLabelValue(String, int, String) - Static method in class com.stata.sfi.ValueLabel
-
Set a value and label for a value-label name.
- setLocal(String, String) - Static method in class com.stata.sfi.Macro
-
Set the value of a local macro.
- setMatrixColNames(String, String[]) - Static method in class com.stata.sfi.Matrix
-
Set the column names of a Stata matrix.
- setMatrixRowNames(String, String[]) - Static method in class com.stata.sfi.Matrix
-
Set the row names of a Stata matrix.
- setObsTotal(long) - Static method in class com.stata.sfi.Data
-
Set the number of observations in the current Stata dataset.
- setObsTotal(String, long) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Set the number of observations in a data frame.
- setObsTotal(long) - Method in class com.stata.sfi.Frame
-
Set the number of observations in the frame.
- setPosition(long) - Method in class com.stata.sfi.StrLConnector
-
Set the access position.
- setSavedPref(String, String, String) - Static method in class com.stata.sfi.util.Preference
-
Write a saved preference.
- setString(String, String) - Static method in class com.stata.sfi.Scalar
-
Set the contents of a Stata string scalar.
- setString(String, String, int) - Static method in class com.stata.sfi.Scalar
-
Set the contents of a Stata string scalar.
- setValue(String, double) - Static method in class com.stata.sfi.Scalar
-
Set the value of a Stata scalar.
- setValue(String, double, int) - Static method in class com.stata.sfi.Scalar
-
Set the value of a Stata scalar.
- setValue(String, double, int, int) - Static method in class com.stata.sfi.Scalar
-
Set the value of a Stata scalar.
- setValue(String, double, int, String) - Static method in class com.stata.sfi.Scalar
-
Set the value of a Stata scalar.
- setVarFormat(int, String) - Static method in class com.stata.sfi.Data
-
Set the format for a Stata variable.
- setVarFormat(String, int, String) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Set the format for a variable in a data frame.
- setVarFormat(int, String) - Method in class com.stata.sfi.Frame
-
Set the format for a variable in the frame.
- setVariableChar(String, String, String) - Static method in class com.stata.sfi.Characteristic
-
Set a characteristic for a variable in the current dataset.
- setVarLabel(int, String) - Static method in class com.stata.sfi.Data
-
Set the label for a Stata variable.
- setVarLabel(int, String) - Method in class com.stata.sfi.Frame
-
Set the label for a variable in the frame.
- setVarValueLabel(int, String) - Static method in class com.stata.sfi.ValueLabel
-
Set the value label for a variable.
- SFIException - Exception in com.stata.sfi
-
Represents a general exception that encapsulates an error code.
- SFIException() - Constructor for exception com.stata.sfi.SFIException
-
Constructs an instance of SFIException with null as its detail message
and 0 as its error code.
- SFIException(int) - Constructor for exception com.stata.sfi.SFIException
-
Constructs an instance of SFIException with the specified error code.
- SFIException(String, int) - Constructor for exception com.stata.sfi.SFIException
-
Constructs an instance of SFIException with the specified detail message
and error code.
- SFIToolkit - Class in com.stata.sfi
-
This class provides a set of core tools for interacting with Stata.
- stackTraceToString(Exception) - Static method in class com.stata.sfi.SFIToolkit
-
- storeBytes(StrLConnector, byte[], boolean) - Static method in class com.stata.sfi.Data
-
Store a byte buffer to a strL in the current Stata dataset.
- storeBytes(String, int, long, byte[], boolean) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Store a byte buffer to a strL in the current Stata dataset.
- storeBytes(int, long, byte[], boolean) - Method in class com.stata.sfi.Frame
-
Store a byte buffer to a strL in the frame.
- storeMatrixAt(String, int, int, double) - Static method in class com.stata.sfi.Matrix
-
Store an element in an existing Stata matrix.
- storeNum(int, long, double) - Static method in class com.stata.sfi.Data
-
Store a numeric value in the current Stata dataset.
- storeNum(String, int, long, double) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Store a numeric value in a data frame.
- storeNum(int, long, double) - Method in class com.stata.sfi.Frame
-
Store a numeric value in the frame.
- storeNumFast(int, long, double) - Static method in class com.stata.sfi.Data
-
Store a numeric value in the current Stata dataset.
- storeNumFast(int, long, double) - Method in class com.stata.sfi.Frame
-
Store a numeric value in the frame.
- storeStr(int, long, String) - Static method in class com.stata.sfi.Data
-
Store a string value in the current Stata dataset.
- storeStr(String, int, long, String) - Static method in class com.stata.sfi.DataFrame
-
Deprecated.
Store a string value in a data frame.
- storeStr(int, long, String) - Method in class com.stata.sfi.Frame
-
Store a string value in the frame.
- storeStrf(int, long, String) - Static method in class com.stata.sfi.Data
-
Store a string value in the current Stata dataset.
- storeStrf(int, long, String) - Method in class com.stata.sfi.Frame
-
Store a string value in the frame.
- storeStrfFast(int, long, String) - Static method in class com.stata.sfi.Data
-
Store a string value in the current Stata dataset.
- storeStrfFast(int, long, String) - Method in class com.stata.sfi.Frame
-
Store a string value in the frame.
- StrLConnector - Class in com.stata.sfi
-
This class facilitates access to Stata's strL data type.
- StrLConnector(Frame, int, long) - Constructor for class com.stata.sfi.StrLConnector
-
Creates a StrLConnector and connects it to a specific
strL in the
specified
Frame
.
- StrLConnector(int, long) - Constructor for class com.stata.sfi.StrLConnector
-
Creates a StrLConnector and connects it to a specific
strL in the
Stata dataset; see
Data
.
- StrLConnector(String, int, long) - Constructor for class com.stata.sfi.StrLConnector
-
Deprecated.
- Synchronized - Annotation Type in com.stata.sfi
-
Indicates that a method or class is thread-safe and that thread safety has
been provided using the Java keyword synchronized.
- SynchronizedOnMain - Annotation Type in com.stata.sfi
-
Indicates that a method or class is thread-safe and that thread safety has
been provided using the Java keyword synchronized; execution may be forced
back on the main thread, so care must be taken to prevent deadlocks.