Package org.networkcalculus.dnc.utils
Class CheckUtils
- java.lang.Object
-
- org.networkcalculus.dnc.utils.CheckUtils
-
public final class CheckUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CheckUtils()
-
Method Summary
Modifier and Type Method Description static int
inputDelayedInfiniteBurstCheck(Curve curve_1, Curve curve_2)
static int
inputEmptySetCheck(java.util.Set set1, java.util.Set set2)
static int
inputNullCheck(java.lang.Object obj1, java.lang.Object obj2)
-
-
-
Method Detail
-
inputNullCheck
public static int inputNullCheck(java.lang.Object obj1, java.lang.Object obj2)
- Parameters:
obj1
-obj2
-- Returns:
- 0 == none of the objects is null,
1 == the first object is null,
2 == the second object is null,
3 == both objects are null.
-
inputEmptySetCheck
public static int inputEmptySetCheck(java.util.Set set1, java.util.Set set2)
- Parameters:
set1
-set
-- Returns:
- 0 == none of the sets is empty,
1 == the first sets is empty,
2 == the second sets is empty,
3 == both sets are empty.
-
inputDelayedInfiniteBurstCheck
public static int inputDelayedInfiniteBurstCheck(Curve curve_1, Curve curve_2)
- Parameters:
curve_1
-curve_2
-- Returns:
- 0 == none of the objects is a delayed infinite burst,
1 == the first object is a delayed infinite burst,
2 == the second object is a delayed infinite burst,
3 == both objects are a delayed infinite burst.
-
-