Package org.apache.sysds.common
Enum Types.CorrectionLocationType
- java.lang.Object
-
- java.lang.Enum<Types.CorrectionLocationType>
-
- org.apache.sysds.common.Types.CorrectionLocationType
-
- All Implemented Interfaces:
Serializable
,Comparable<Types.CorrectionLocationType>
- Enclosing interface:
- Types
public static enum Types.CorrectionLocationType extends Enum<Types.CorrectionLocationType>
Correction location when performing operations leveraging correcting rounding
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALID
LASTCOLUMN
LASTFOURCOLUMNS
LASTFOURROWS
LASTROW
LASTTWOCOLUMNS
LASTTWOROWS
NONE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNumRemovedRowsColumns()
boolean
isRows()
static Types.CorrectionLocationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Types.CorrectionLocationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final Types.CorrectionLocationType NONE
-
LASTROW
public static final Types.CorrectionLocationType LASTROW
-
LASTCOLUMN
public static final Types.CorrectionLocationType LASTCOLUMN
-
LASTTWOROWS
public static final Types.CorrectionLocationType LASTTWOROWS
-
LASTTWOCOLUMNS
public static final Types.CorrectionLocationType LASTTWOCOLUMNS
-
LASTFOURROWS
public static final Types.CorrectionLocationType LASTFOURROWS
-
LASTFOURCOLUMNS
public static final Types.CorrectionLocationType LASTFOURCOLUMNS
-
INVALID
public static final Types.CorrectionLocationType INVALID
-
-
Method Detail
-
values
public static Types.CorrectionLocationType[] 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.CorrectionLocationType c : Types.CorrectionLocationType.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.CorrectionLocationType 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 nameNullPointerException
- if the argument is null
-
getNumRemovedRowsColumns
public int getNumRemovedRowsColumns()
-
isRows
public boolean isRows()
-
-