|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deri.iris.rules.compiler.Utils
public class Utils
Utilities for classes in this package.
| Constructor Summary | |
|---|---|
Utils()
|
|
| Method Summary | |
|---|---|
static List<ITuple> |
createAllCombinations(ITuple tuple,
IEquivalentTerms equivalentTerms)
Creates all possible combinations of the terms of a specified tuple with their equivalent terms. |
static int[] |
integerListToArray(List<Integer> list)
Convert a list of integers to an array. |
static List<ITerm> |
makeKey(ITuple tuple,
int[] indices)
Make a list of terms by selecting them from a tuple. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Utils()
| Method Detail |
|---|
public static int[] integerListToArray(List<Integer> list)
list - The list of integers.
public static List<ITerm> makeKey(ITuple tuple,
int[] indices)
tuple - The tuple containing terms to select.indices - The indices of terms to use.
public static List<ITuple> createAllCombinations(ITuple tuple,
IEquivalentTerms equivalentTerms)
tuple - The tuple for which all possible combinations should
be created.equivalentTerms - The equivalent terms.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||