public class VTypeValueEquals extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | alarmEquals(Alarm alarm1,
           Alarm alarm2)Tests whether two alarms have the same name and severity. | 
| static boolean | timeEquals(Time time1,
          Time time2)Tests whether the two time have the same timestamp, user tag
 and if they are both valid. | 
| static boolean | typeEquals(Object obj1,
          Object obj2)Tests whether the two objects are of the same VType. | 
| static boolean | valueEquals(Object obj1,
           Object obj2) | 
| static boolean | valueEquals(VBooleanArray bool1,
           VBooleanArray bool2) | 
| static boolean | valueEquals(VBoolean bool1,
           VBoolean bool2)Checks whether the two booleans have the same value. | 
| static boolean | valueEquals(VEnumArray enum1,
           VEnumArray enum2) | 
| static boolean | valueEquals(VEnum enum1,
           VEnum enum2) | 
| static boolean | valueEquals(VNumberArray array1,
           VNumberArray array2)Checks whether the two array have the data: equal data and
 equal sizes. | 
| static boolean | valueEquals(VNumber number1,
           VNumber number2)Checks whether the two number have the same value. | 
| static boolean | valueEquals(VStringArray array1,
           VStringArray array2) | 
| static boolean | valueEquals(VString str1,
           VString str2) | 
| static boolean | valueEquals(VTable arg1,
           VTable arg2)Checks whether the two table have the same data: equal column names, number
 of rows and columns and their value. | 
public static boolean alarmEquals(Alarm alarm1, Alarm alarm2)
alarm1 - first alarmalarm2 - second alarmpublic static boolean timeEquals(Time time1, Time time2)
time1 - first timetime2 - second timepublic static boolean typeEquals(Object obj1, Object obj2)
obj1 - first objectobj2 - second objectpublic static boolean valueEquals(VTable arg1, VTable arg2)
arg1 - a tablearg2 - another tablepublic static boolean valueEquals(VNumberArray array1, VNumberArray array2)
array1 - first arrayarray2 - second arraypublic static boolean valueEquals(VNumber number1, VNumber number2)
number1 - the first numbernumber2 - the second numberpublic static boolean valueEquals(VBoolean bool1, VBoolean bool2)
bool1 - the first booleanbool2 - the second booleanpublic static boolean valueEquals(VBooleanArray bool1, VBooleanArray bool2)
public static boolean valueEquals(VEnumArray enum1, VEnumArray enum2)
public static boolean valueEquals(VStringArray array1, VStringArray array2)
Copyright © 2010–2015. All rights reserved.