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.Serializable
    A function which is able to build a CodePath given the current Protelis stack status.
    • Method Detail

      • createCodePath

        CodePath createCodePath​(gnu.trove.list.TIntList callStackIdentifiers,
                                gnu.trove.stack.TIntStack callStackSizes)
        Creates a CodePath for the current stack status.
        Parameters:
        callStackIdentifiers - the stack frames identifiers
        callStackSizes - the stack frame sizes, by frame
        Returns:
        a new CodePath