//------------------------------------------------------------------------------ // // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ package cfg; import luban.*; import com.google.gson.JsonElement; public final class TbGRoleCUp { private final java.util.HashMap _dataMap; private final java.util.ArrayList _dataList; public TbGRoleCUp(JsonElement _buf) { _dataMap = new java.util.HashMap(); _dataList = new java.util.ArrayList(); for (com.google.gson.JsonElement _e_ : _buf.getAsJsonArray()) { cfg.TB.TbGRoleCUp _v; _v = cfg.TB.TbGRoleCUp.deserialize(_e_.getAsJsonObject()); _dataList.add(_v); _dataMap.put(_v.grade, _v); } } public java.util.HashMap getDataMap() { return _dataMap; } public java.util.ArrayList getDataList() { return _dataList; } public cfg.TB.TbGRoleCUp get(int key) { return _dataMap.get(key); } }