|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--roast.ValueType
Overview
Interface Semantics
Constructor Summary | |
ValueType()
|
Method Summary | |
static boolean |
compareValue(boolean actVal,
boolean expVal)
Returns true if the two specified booleans are equal to one another. |
static boolean |
compareValue(byte actVal,
byte expVal)
Returns true if the two specified bytes are equal to one another. |
static boolean |
compareValue(char actVal,
char expVal)
Returns true if the two specified characters are equal to one another. |
static boolean |
compareValue(double actVal,
double expVal)
Returns true if the two specified doubles are equal to one another. |
static boolean |
compareValue(float actVal,
float expVal)
Returns true if the two specified floats are equal to one another. |
static boolean |
compareValue(int actVal,
int expVal)
Returns true if the two specified ints are equal to one another. |
static boolean |
compareValue(long actVal,
long expVal)
Returns true if the two specified longs are equal to one another. |
static boolean |
compareValue(java.lang.Object actVal,
java.lang.Object expVal)
Returns true if the two specified objects are equal to one another, that is, they represent the same object. |
static boolean |
compareValue(short actVal,
short expVal)
|
static boolean |
compareValue(java.lang.String actVal,
java.lang.String expVal)
Returns true if the two specified strings are equal to one another, that is, they represent the same sequence of characters. |
static void |
printValue(int lineNumber,
boolean actVal,
boolean expVal)
|
static void |
printValue(int lineNumber,
byte actVal,
byte expVal)
|
static void |
printValue(int lineNumber,
char actVal,
char expVal)
|
static void |
printValue(int lineNumber,
double actVal,
double expVal)
|
static void |
printValue(int lineNumber,
float actVal,
float expVal)
|
static void |
printValue(int lineNumber,
int actVal,
int expVal)
|
static void |
printValue(int lineNumber,
long actVal,
long expVal)
|
static void |
printValue(int lineNumber,
java.lang.Object actVal,
java.lang.Object expVal)
|
static void |
printValue(int lineNumber,
short actVal,
short expVal)
Returns true if the two specified shorts are equal to one another. |
static void |
printValue(int lineNumber,
java.lang.String actVal,
java.lang.String expVal)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ValueType()
Method Detail |
public static boolean compareValue(java.lang.Object actVal, java.lang.Object expVal)
true
if the objects are equalfalse
otherwisepublic static void printValue(int lineNumber, java.lang.Object actVal, java.lang.Object expVal)
public static boolean compareValue(java.lang.String actVal, java.lang.String expVal)
true
if the strings are equalfalse
otherwisepublic static void printValue(int lineNumber, java.lang.String actVal, java.lang.String expVal)
public static boolean compareValue(boolean actVal, boolean expVal)
true
if the booleans are equalfalse
otherwisepublic static void printValue(int lineNumber, boolean actVal, boolean expVal)
public static boolean compareValue(byte actVal, byte expVal)
true
if the bytes are equalfalse
otherwisepublic static void printValue(int lineNumber, byte actVal, byte expVal)
public static boolean compareValue(char actVal, char expVal)
true
if the characters are equalfalse
otherwisepublic static void printValue(int lineNumber, char actVal, char expVal)
public static boolean compareValue(double actVal, double expVal)
new Double(d1).equals(new Double(d2))Unlike the == operator, this method considers NaN equal to itself, and 0.0d unequal to -0.0d.
true
if the doubles are equalfalse
otherwisepublic static void printValue(int lineNumber, double actVal, double expVal)
public static boolean compareValue(float actVal, float expVal)
new Float(d1).equals(new Float(d2))Unlike the == operator, this method considers NaN equal to itself, and 0.0f unequal to -0.0f.
true
if the floats are equalfalse
otherwisepublic static void printValue(int lineNumber, float actVal, float expVal)
public static boolean compareValue(int actVal, int expVal)
true
if the ints are equalfalse
otherwisepublic static void printValue(int lineNumber, int actVal, int expVal)
public static boolean compareValue(long actVal, long expVal)
true
if the longs are equalfalse
otherwisepublic static void printValue(int lineNumber, long actVal, long expVal)
public static boolean compareValue(short actVal, short expVal)
public static void printValue(int lineNumber, short actVal, short expVal)
true
if the shorts are equalfalse
otherwise
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |