|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cyc.tool.subl.jrtl.nativeCode.mapper.LoadMap
public class LoadMap
Nested Class Summary | |
---|---|
static class |
LoadMap.LoadMapEntry
|
Field Summary | |
---|---|
static int |
MAJOR_VERSION
the current version, as integers and as a version tuple |
static int |
MINOR_VERSION
|
Method Summary | |
---|---|
Snapshot.SnapShootingListener |
getListener()
Obtain a connector that gives modification access to this load map via the snap shooting listener interface. |
java.util.Iterator<LoadMap.LoadMapEntry> |
iterator()
|
static LoadMap |
load(java.io.InputStream in)
|
java.lang.Long |
lookup(java.lang.String pkgName,
java.lang.String symbolName)
Resolve a symbol to its load map file position. |
SubLObject |
lookup(SubLSymbol symbol)
Helper wrapper around lookup(String pkgName, String symbolName) that is more SubL-like in its data types expected. |
static void |
main(java.lang.String[] args)
|
static LoadMap |
newLoadMap()
|
void |
save(java.io.OutputStream out)
Serialization method for the load map. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MAJOR_VERSION
public static final int MINOR_VERSION
Method Detail |
---|
public static LoadMap newLoadMap()
public static LoadMap load(java.io.InputStream in) throws java.io.IOException
java.io.IOException
public Snapshot.SnapShootingListener getListener()
Snapshot
public void save(java.io.OutputStream out) throws java.io.IOException
out
-
java.io.IOException
public SubLObject lookup(SubLSymbol symbol)
symbol
-
public java.lang.Long lookup(java.lang.String pkgName, java.lang.String symbolName)
pkgName
- the name of the package under which the object was indexedsymbolName
- the name of symbol under which the object was indexed
public java.util.Iterator<LoadMap.LoadMapEntry> iterator()
public static final void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |