예제 #1
0
 public Object ReadObjOr(String k, ParseAble parseAble, Object or) {
   Object rv = ReadOr(k, or);
   if (rv == Nil) return or;
   return parse ? parseAble.ParseAsObj((String) rv) : rv;
 }
예제 #2
0
 public Object ReadObj(String k, ParseAble parseAble) {
   Object rv = ReadOr(k, null);
   if (rv == Nil) ThrowNotFound(k);
   return parse ? parseAble.ParseAsObj((String) rv) : rv;
 }