All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.weeaboo.lua2.vm.IStrongSlot Maven / Gradle / Ivy

package nl.weeaboo.lua2.vm;

/**
 * Subclass of Slot guaranteed to have a strongly-referenced key and value, to support weak tables.
 */
interface IStrongSlot extends ISlot {

    /** Return first entry's key */
    LuaValue key();

    /** Return first entry's value */
    LuaValue value();

    /** Return varargsOf(key(), value()) or equivalent */
    Varargs toVarargs();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy