|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object grinda.common.Utils
public class Utils
Support Methods for handling Internal tuple
Constructor Summary | |
---|---|
Utils()
|
Method Summary | |
---|---|
static InternalTuple |
getAbsoluteTemplate(InternalTuple src)
Gets the absolute template (i.e. a tuple with no constants at all) that represents the given tuple |
static boolean |
isAbstract(InternalTuple t)
|
static boolean |
isBlocking(TupleSpaceOperation op)
Returns true if the operation is a blocking operation |
static boolean |
isIndempotent(TupleSpaceOperation op)
|
static boolean |
isSpecial(InternalTuple t)
|
static boolean |
isWriting(TupleSpaceOperation op)
|
static boolean |
match(InternalTuple t1,
InternalTuple t2)
Executes the associative match upon two internal tuples |
static java.lang.String |
toString(InternalTuple t)
|
static Tuple[] |
toTupleArray(InternalTuple[] t)
|
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 boolean match(InternalTuple t1, InternalTuple t2)
t1
- t2
-
public static InternalTuple getAbsoluteTemplate(InternalTuple src)
src
- the tuple
public static boolean isAbstract(InternalTuple t)
public static boolean isBlocking(TupleSpaceOperation op)
op
- TupleSpaceOperation
public static boolean isIndempotent(TupleSpaceOperation op)
public static boolean isWriting(TupleSpaceOperation op)
public static boolean isSpecial(InternalTuple t)
public static Tuple[] toTupleArray(InternalTuple[] t)
public static java.lang.String toString(InternalTuple t)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |