public class NumericFormatInfo
extends java.lang.Object
| Constructor and Description |
|---|
NumericFormatInfo(java.lang.String format)
Initializes a new instance of the
NumericFormatInfo class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCategory()
Gets the category this numeric format falls into.
|
java.lang.String |
getFormat()
Gets the string representation of this numeric format.
|
int |
hashCode() |
static boolean |
op_Equality(NumericFormatInfo a,
NumericFormatInfo b)
Compares two
NumericFormatInfo objects for equality. |
static boolean |
op_Inequality(NumericFormatInfo a,
NumericFormatInfo b)
Compares two
NumericFormatInfo objects for inequality. |
java.lang.String |
toString()
Object.toString() override. |
public NumericFormatInfo(java.lang.String format)
NumericFormatInfo class.format - The string representation of the numeric format.public java.lang.String toString()
Object.toString() override.toString in class java.lang.Objectpublic java.lang.String getCategory()
public java.lang.String getFormat()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic static boolean op_Equality(NumericFormatInfo a, NumericFormatInfo b)
NumericFormatInfo objects for equality.a - The first object to compare.b - The second object to compare.true if the two specified objects are equal; otherwise, false.public static boolean op_Inequality(NumericFormatInfo a, NumericFormatInfo b)
NumericFormatInfo objects for inequality.a - The first object to compare.b - The second object to compare.true if the two specified objects are not equal; otherwise, false.