public class VariableIndex
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name
A name property for the class
|
protected java.util.List<java.lang.Integer> |
varindex
Member variable containing variable indices
|
Constructor and Description |
---|
VariableIndex()
Class constructor method
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Method to retrieve the name of the JSON object
|
java.lang.Integer |
getValue(java.lang.Integer indx)
Method to retrieve the index of a single variable
|
java.util.List<java.lang.Integer> |
getValues()
Accessor method for variable index variable
|
java.lang.Integer |
getVarIndexValue(java.lang.Integer indx)
Method to retrieve the index of a single variable
|
java.util.List<java.lang.Integer> |
getVarIndexValues()
Accessor method for variable index variable
|
private void |
setVariableIndex()
Populates the variable index member variable with the indices used to
identify variables in the Stata dataset in memory.
|
private final java.lang.String name
protected java.util.List<java.lang.Integer> varindex
private void setVariableIndex()
public java.util.List<java.lang.Integer> getValues()
public java.lang.Integer getValue(java.lang.Integer indx)
indx
- The Java index value to searchpublic java.lang.String getName()
public java.util.List<java.lang.Integer> getVarIndexValues()
public java.lang.Integer getVarIndexValue(java.lang.Integer indx)
indx
- The Java index value to search