new execute stuff
This commit is contained in:
@@ -1,28 +1,28 @@
|
||||
package info.sigterm.deob.execution;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
public class Variables
|
||||
{
|
||||
private Object[] variables;
|
||||
|
||||
public Variables(int sz)
|
||||
{
|
||||
variables = new Object[sz];
|
||||
}
|
||||
|
||||
protected Variables(Variables other)
|
||||
{
|
||||
this.variables = Arrays.copyOf(other.variables, other.variables.length);
|
||||
}
|
||||
|
||||
public void set(int index, Object value)
|
||||
{
|
||||
variables[index] = value;
|
||||
}
|
||||
|
||||
public Object get(int index)
|
||||
{
|
||||
return variables[index];
|
||||
}
|
||||
}
|
||||
package info.sigterm.deob.execution;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
public class Variables
|
||||
{
|
||||
private VariableContext[] variables;
|
||||
|
||||
public Variables(int sz)
|
||||
{
|
||||
variables = new VariableContext[sz];
|
||||
}
|
||||
|
||||
protected Variables(Variables other)
|
||||
{
|
||||
this.variables = Arrays.copyOf(other.variables, other.variables.length);
|
||||
}
|
||||
|
||||
public void set(int index, VariableContext value)
|
||||
{
|
||||
variables[index] = value;
|
||||
}
|
||||
|
||||
public VariableContext get(int index)
|
||||
{
|
||||
return variables[index];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user