public class LibUtil
extends java.lang.Object
Constructor and Description |
---|
LibUtil() |
Modifier and Type | Method and Description |
---|---|
static Collector |
castToCollector(CppCollector c) |
static WiredBox |
cppHelper(java.lang.String[] methodNames,
CppCollector c) |
static java.lang.String |
getClassName() |
static boolean |
isLib() |
static void |
loadGenesisLib() |
static WiredBox |
magic(WiredBox in)
Make a stable Java object out of input, which might be a
Python/other object that implements WiredBox, but this can
mean that it gets a new Java wrapper every time it is
passed from the Python world into the Java world.
|
static WiredBox |
makeWiredBox(java.lang.String[] inPorts,
java.lang.Object[] wiredBoxMethods,
java.lang.String[] normalMethods,
Collector collector) |
static Collector |
newCppCollector() |
static void |
setLibMode() |
static WiredBox |
temporary(Collector foo) |
public static WiredBox magic(WiredBox in)
in
- public static boolean isLib()
public static void setLibMode()
public static java.lang.String getClassName()
public static WiredBox cppHelper(java.lang.String[] methodNames, CppCollector c)
public static WiredBox makeWiredBox(java.lang.String[] inPorts, java.lang.Object[] wiredBoxMethods, java.lang.String[] normalMethods, Collector collector)
public static void loadGenesisLib()
public static Collector newCppCollector()
public static Collector castToCollector(CppCollector c)