Пример #1
0
 public GfoMsg Args_ovr(String k, Object v) {
   if (args == null) args = List_adp_.New();
   for (int i = 0; i < args.Count(); i++) {
     Keyval kv = (Keyval) args.Get_at(i);
     if (String_.Eq(k, kv.Key())) {
       kv.Val_(v);
       return this;
     }
   }
   args.Add(Keyval_.new_(k, v));
   return this;
 }
Пример #2
0
 @Override
 protected Object ReadOr(String k, Object defaultOr) {
   if (args == null) args = List_adp_.New();
   args.Add(Keyval_.new_(k, defaultOr));
   return defaultOr;
 }
Пример #3
0
 public GfoMsg Add(String k, Object v) {
   if (args == null) args = List_adp_.New();
   args.Add(Keyval_.new_(k, v));
   return this;
 }