Class RuntimeArray
java.lang.Object
io.github.protasm.jvmud.compiler.runtime.RuntimeArray
Runtime helpers for LPC array operations that need dynamic equality semantics.
-
Method Summary
Modifier and TypeMethodDescriptionConcatenates LPC array operands while treating the false sentinel as an empty array.difference(Object left, Object right) Computes the LPC array difference while treating the false sentinel as an empty array.
-
Method Details
-
concat
Concatenates LPC array operands while treating the false sentinel as an empty array.LPC code commonly writes expressions such as
values + 0when an optional array is absent. The sentinel remains falsey at rest, but array arithmetic treats it as empty. -
difference
-