Package com.avpkit.core
Enum IRational.Rounding
- java.lang.Object
-
- java.lang.Enum<IRational.Rounding>
-
- com.avpkit.core.IRational.Rounding
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IRational.Rounding>
- Enclosing class:
- IRational
public static enum IRational.Rounding extends java.lang.Enum<IRational.Rounding>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ROUND_DOWNROUND_INFROUND_NEAR_INFROUND_UPROUND_ZERO
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IRational.RoundingswigToEnum(int swigValue)intswigValue()static IRational.RoundingvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static IRational.Rounding[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROUND_ZERO
public static final IRational.Rounding ROUND_ZERO
-
ROUND_INF
public static final IRational.Rounding ROUND_INF
-
ROUND_DOWN
public static final IRational.Rounding ROUND_DOWN
-
ROUND_UP
public static final IRational.Rounding ROUND_UP
-
ROUND_NEAR_INF
public static final IRational.Rounding ROUND_NEAR_INF
-
-
Method Detail
-
values
public static IRational.Rounding[] 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 (IRational.Rounding c : IRational.Rounding.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IRational.Rounding valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
swigValue
public final int swigValue()
-
swigToEnum
public static IRational.Rounding swigToEnum(int swigValue)
-
-