public class StataMissings
extends java.lang.Object
Constructor and Description |
---|
StataMissings() |
Modifier and Type | Method and Description |
---|---|
static java.util.NavigableMap<java.lang.Byte,java.lang.String> |
byteMissing()
Method returning a map object containing Stata missing values and
their string masks (e.g., .a - .z)
|
static java.util.NavigableMap<java.lang.Double,java.lang.String> |
doubleMissing()
Method returning a map object containing Stata missing values and
their string masks (e.g., .a - .z)
|
static java.util.NavigableMap<java.lang.Float,java.lang.String> |
floatMissing()
Method returning a map object containing Stata missing values and
their string masks (e.g., .a - .z)
|
java.lang.String |
getMask(java.lang.Byte value)
Method that returns the string mask for missing values of type byte
|
java.lang.String |
getMask(java.lang.Double value)
Method that returns the string mask for missing values of type double.
|
java.lang.String |
getMask(java.lang.Float value)
Method that returns the string mask for missing values of type float.
|
java.lang.String |
getMask(java.lang.Integer value)
Method that returns the string mask for missing values of type int.
|
java.lang.String |
getMask(java.lang.Short value)
Method that returns the string mask for missing values of type short.
|
static java.util.NavigableMap<java.lang.Short,java.lang.String> |
integerMissing()
Method returning a map object containing Stata missing values and
their string masks (e.g., .a - .z)
|
static java.lang.Boolean |
isExtendedMissing(java.lang.Byte byteValue)
Method to test if a Stata byte type value (a Java byte) is an extended
missing value or not.
|
static java.lang.Boolean |
isExtendedMissing(java.lang.Double dblValue)
Method to test if a Stata long type value (a Java int) is an extended
missing value or not.
|
static java.lang.Boolean |
isExtendedMissing(java.lang.Float fltValue)
Method to test if a Stata long type value (a Java int) is an extended
missing value or not.
|
static java.lang.Boolean |
isExtendedMissing(java.lang.Integer longValue)
Method to test if a Stata long type value (a Java int) is an extended
missing value or not.
|
static java.lang.Boolean |
isExtendedMissing(java.lang.Short shortValue)
Method to test if a Stata int type value (a Java short) is an extended
missing value or not.
|
static java.util.NavigableMap<java.lang.Integer,java.lang.String> |
longMissing()
Method returning a map object containing Stata missing values and
their string masks (e.g., .a - .z)
|
public static java.lang.Boolean isExtendedMissing(java.lang.Byte byteValue)
byteValue
- An Integer value to testpublic static java.util.NavigableMap<java.lang.Byte,java.lang.String> byteMissing()
public java.lang.String getMask(java.lang.Byte value)
value
- A Byte value for which the mask should be returnedpublic static java.lang.Boolean isExtendedMissing(java.lang.Short shortValue)
shortValue
- A Short value to testpublic static java.util.NavigableMap<java.lang.Short,java.lang.String> integerMissing()
public java.lang.String getMask(java.lang.Short value)
value
- A Short (Stata int type) value for which the mask should be
returnedpublic static java.lang.Boolean isExtendedMissing(java.lang.Integer longValue)
longValue
- An Integer value to testpublic static java.util.NavigableMap<java.lang.Integer,java.lang.String> longMissing()
public java.lang.String getMask(java.lang.Integer value)
value
- An Integer value for which the mask should be returnedpublic static java.lang.Boolean isExtendedMissing(java.lang.Float fltValue)
fltValue
- A Float value to testpublic static java.util.NavigableMap<java.lang.Float,java.lang.String> floatMissing()
public java.lang.String getMask(java.lang.Float value)
value
- A Float value for which the mask should be returnedpublic static java.lang.Boolean isExtendedMissing(java.lang.Double dblValue)
dblValue
- An Integer value to testpublic static java.util.NavigableMap<java.lang.Double,java.lang.String> doubleMissing()
public java.lang.String getMask(java.lang.Double value)
value
- A Double value for which the mask should be returned