public class MarshallingHelper extends Object
| Constructor and Description |
|---|
MarshallingHelper() |
| Modifier and Type | Method and Description |
|---|---|
static int |
byteArrayToInt(byte[] b) |
static long |
byteArrayToLong(byte[] b) |
static ActivationKey |
createActivationKey(String pkgName,
String ruleName,
Object[] tuple) |
static ActivationKey |
createActivationKey(String pkgName,
String ruleName,
Tuple leftTuple) |
protected static long[] |
createTupleArray(Tuple tuple) |
static TupleKey |
createTupleKey(Tuple leftTuple) |
static boolean |
hasNodeMemory(TerminalNode terminalNode) |
static byte[] |
intToByteArray(int value) |
static byte[] |
longToByteArray(long value) |
protected static Object[] |
toArrayOfObject(long[] longs) |
public static ActivationKey createActivationKey(String pkgName, String ruleName, Tuple leftTuple)
public static ActivationKey createActivationKey(String pkgName, String ruleName, Object[] tuple)
protected static Object[] toArrayOfObject(long[] longs)
protected static long[] createTupleArray(Tuple tuple)
public static final byte[] intToByteArray(int value)
public static final int byteArrayToInt(byte[] b)
public static final byte[] longToByteArray(long value)
public static final long byteArrayToLong(byte[] b)
public static boolean hasNodeMemory(TerminalNode terminalNode)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.