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

com.lithium.dbi.rdbi.LuaContext Maven / Gradle / Ivy

package com.lithium.dbi.rdbi;

import java.util.Set;

class LuaContext {

    private final String renderedLuaString;
    private final Set keys;

    public LuaContext(String renderedLuaString, Set keys) {
        this.renderedLuaString = renderedLuaString;
        this.keys = keys;
    }

    public String getRenderedLuaString() {
        return renderedLuaString;
    }

    public boolean isKey(int key) {
        return keys.contains(key);
    }

    @Override
    public String toString() {
        return "RenderedResult{" +
                "renderedLuaString='" + renderedLuaString + '\'' +
                ", keys=" + keys +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy