Static Public Member Functions | Static Public Attributes

de.fraunhofer.isst.axbench.axlang.utilities.AXLComparison Class Reference

Convenience methods for comparisons. More...

List of all members.

Static Public Member Functions

static Integer compareElements (IAXLangElement thisElement, IAXLangElement otherElement)
 Compares two elements (convenience method).

Static Public Attributes

static final int EQUAL = 0
 value for equal elements
static final int GREATER = 1
 value for greater elements
static final int LESS = -1
 value for lesser elements

Detailed Description

Convenience methods for comparisons.

Author:
ekleinod
Version:
0.7.2
Since:
0.7.2

Member Function Documentation

static Integer de.fraunhofer.isst.axbench.axlang.utilities.AXLComparison.compareElements ( IAXLangElement  thisElement,
IAXLangElement  otherElement 
) [static]

Compares two elements (convenience method).

Parameters:
thisElement element of this object
otherElement element of other object
Returns:
result of comparison
Return values:
null both arguments null
<0 this element is less than the other
0 this element equals the other
>0 this element is greater than the other

Member Data Documentation

value for equal elements

value for greater elements

value for lesser elements