|
TPTP 4.3.0 Testing Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.test.core.util.CoreUtil
Contains non UI utility methods.
| Constructor Summary | |
|---|---|
CoreUtil()
|
|
| Method Summary | |
|---|---|
static int |
fromBynaryString(java.lang.String bits)
Returns the integer value for the bits passed as a String. |
static void |
moveDown(java.util.List owner,
java.util.List elements)
Changes the owner list by moving all the specified elements down. |
static void |
moveUp(java.util.List owner,
java.util.List elements)
Changes the owner list by moving all the specified elements up. |
static int |
removeBitFlag(int value,
int flag)
Removes the bit flag from the integer value returning the new value. |
static void |
swap(java.util.List list,
int index1,
int index2)
This method swaps two elements in a list identified by their indexes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CoreUtil()
| Method Detail |
public static int removeBitFlag(int value,
int flag)
value - flag -
public static int fromBynaryString(java.lang.String bits)
Any character different than 1 is considered 0.
bits -
public static void moveUp(java.util.List owner,
java.util.List elements)
owner - elements -
public static void moveDown(java.util.List owner,
java.util.List elements)
owner - elements -
public static void swap(java.util.List list,
int index1,
int index2)
list - index1 - index2 -
|
TPTP 4.3.0 Testing Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||