public final class DefineList
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_DEFINES |
Constructor and Description |
---|
DefineList(int numValues) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
DefineList |
deepClone() |
boolean |
equals(java.lang.Object other) |
java.lang.String |
generateSource(java.util.List<java.lang.String> defineNames,
java.util.List<VarType> defineTypes) |
void |
generateSource(java.lang.StringBuilder sb,
java.util.List<java.lang.String> defineNames,
java.util.List<VarType> defineTypes) |
boolean |
getBoolean(int id) |
float |
getFloat(int id) |
int |
getInt(int id) |
int |
hashCode() |
boolean |
isSet(int id) |
void |
set(int id,
boolean val) |
void |
set(int id,
float val) |
void |
set(int id,
int val) |
void |
set(int id,
VarType type,
java.lang.Object value) |
void |
setAll(DefineList other) |
void |
unset(int id) |
public static final int MAX_DEFINES
public boolean isSet(int id)
public void unset(int id)
public void set(int id, int val)
public void set(int id, float val)
public void set(int id, boolean val)
public void set(int id, VarType type, java.lang.Object value)
public void setAll(DefineList other)
public void clear()
public boolean getBoolean(int id)
public float getFloat(int id)
public int getInt(int id)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public DefineList deepClone()
public void generateSource(java.lang.StringBuilder sb, java.util.List<java.lang.String> defineNames, java.util.List<VarType> defineTypes)
public java.lang.String generateSource(java.util.List<java.lang.String> defineNames, java.util.List<VarType> defineTypes)