Package org.protelis.vm
Interface CodePathFactory
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
HashingCodePathFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface CodePathFactory extends java.io.SerializableA function which is able to build aCodePathgiven the current Protelis stack status.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CodePathcreateCodePath(gnu.trove.list.TIntList callStackIdentifiers, gnu.trove.stack.TIntStack callStackSizes)Creates aCodePathfor the current stack status.
-
-
-
Method Detail
-
createCodePath
CodePath createCodePath(gnu.trove.list.TIntList callStackIdentifiers, gnu.trove.stack.TIntStack callStackSizes)
Creates aCodePathfor the current stack status.- Parameters:
callStackIdentifiers- the stack frames identifierscallStackSizes- the stack frame sizes, by frame- Returns:
- a new
CodePath
-
-