/** Set a value in a table without metatag processing. * @param key the key to use * @param value the value to use, can be {@link #NIL}, must not be null * @throws LuaError if {@code this} is not a table */ public void rawset( int key, LuaValue value ) { rawset(valueOf(key),value); }
/** Set a value in a table without metatag processing. * @param key the key to use * @param value the value to use, can be {@link #NIL}, must not be null * @throws LuaError if {@code this} is not a table */ public void rawset( int key, LuaValue value ) { rawset(valueOf(key),value); }
/** Set a value in a table without metatag processing. * @param key the key to use, must not be null * @param value the value to use, can be {@link #NIL}, must not be null * @throws LuaError if {@code this} is not a table */ public void rawset( String key, LuaValue value ) { rawset(valueOf(key),value); }
/** Set a value in a table without metatag processing. * @param key the key to use * @param value the value to use, can be {@link #NIL}, must not be null * @throws LuaError if {@code this} is not a table */ public void rawset( int key, String value ) { rawset(key,valueOf(value)); }
/** Set a value in a table without metatag processing. * @param key the key to use, must not be null * @param value the value to use, can be {@link #NIL}, must not be null * @throws LuaError if {@code this} is not a table */ public void rawset( String key, LuaValue value ) { rawset(valueOf(key),value); }
/** Set a value in a table without metatag processing. * @param key the key to use, must not be null * @param value the value to use, can be {@link NIL}, must not be null * @throws LuaError if {@code this} is not a table */ public void rawset( String key, LuaValue value ) { rawset(valueOf(key),value); }
/** Set a value in a table without metatag processing. * @param key the key to use * @param value the value to use, can be {@link #NIL}, must not be null * @throws LuaError if {@code this} is not a table */ public void rawset( int key, String value ) { rawset(key,valueOf(value)); }
/** Set a value in a table without metatag processing. * @param key the key to use * @param value the value to use, can be {@link NIL}, must not be null * @throws LuaError if {@code this} is not a table */ public void rawset( int key, LuaValue value ) { rawset(valueOf(key),value); }
/** Set a value in a table without metatag processing. * @param key the key to use * @param value the value to use, can be {@link NIL}, must not be null * @throws LuaError if {@code this} is not a table */ public void rawset( int key, String value ) { rawset(key,valueOf(value)); }
/** Set a value in a table without metatag processing. * @param key the key to use, must not be null * @param value the value to use * @throws LuaError if {@code this} is not a table */ public void rawset( String key, double value ) { rawset(valueOf(key),valueOf(value)); }
/** Set list values in a table without invoking metatag processing * <p> * Primarily used internally in response to a SETLIST bytecode. * @param key0 the first key to set in the table * @param values the list of values to set * @throws LuaError if this is not a table. */ public void rawsetlist( int key0, Varargs values ) { for ( int i=0, n=values.narg(); i<n; i++ ) rawset(key0+i,values.arg(i+1)); }
/** Set a value in a table without metatag processing. * @param key the key to use, must not be null * @param value the value to use * @throws LuaError if {@code this} is not a table */ public void rawset( String key, int value ) { rawset(valueOf(key),valueOf(value)); }
/** Set a value in a table without metatag processing. * @param key the key to use, must not be null * @param value the value to use, must not be null * @throws LuaError if {@code this} is not a table */ public void rawset( String key, String value ) { rawset(valueOf(key),valueOf(value)); }
/** Set a value in a table without metatag processing. * @param key the key to use, must not be null * @param value the value to use, must not be null * @throws LuaError if {@code this} is not a table */ public void rawset( String key, String value ) { rawset(valueOf(key),valueOf(value)); }
/** Set list values in a table without invoking metatag processing * <p> * Primarily used internally in response to a SETLIST bytecode. * @param key0 the first key to set in the table * @param values the list of values to set * @throws LuaError if this is not a table. */ public void rawsetlist( int key0, Varargs values ) { for ( int i=0, n=values.narg(); i<n; i++ ) rawset(key0+i,values.arg(i+1)); }
/** Set a value in a table without metatag processing. * @param key the key to use, must not be null * @param value the value to use * @throws LuaError if {@code this} is not a table */ public void rawset( String key, int value ) { rawset(valueOf(key),valueOf(value)); }
/** Set a value in a table without metatag processing. * @param key the key to use, must not be null * @param value the value to use, must not be null * @throws LuaError if {@code this} is not a table */ public void rawset( String key, String value ) { rawset(valueOf(key),valueOf(value)); }
/** Set a value in a table without metatag processing. * @param key the key to use, must not be null * @param value the value to use * @throws LuaError if {@code this} is not a table */ public void rawset( String key, double value ) { rawset(valueOf(key),valueOf(value)); }
/** Set list values in a table without invoking metatag processing * <p> * Primarily used internally in response to a SETLIST bytecode. * @param key0 the first key to set in the table * @param values the list of values to set * @throws LuaError if this is not a table. */ public void rawsetlist( int key0, Varargs values ) { for ( int i=0, n=values.narg(); i<n; i++ ) rawset(key0+i,values.arg(i+1)); }
/** Set a value in a table without metatag processing. * @param key the key to use, must not be null * @param value the value to use * @throws LuaError if {@code this} is not a table */ public void rawset( String key, int value ) { rawset(valueOf(key),valueOf(value)); }