예제 #1
0
 public Object get(Object key) {
   Object value = metaData.get(key);
   if (value == null && parent != null) {
     value = parent.get(key);
   }
   return value;
 }
예제 #2
0
 public boolean containsKey(Object key) {
   if (metaData.containsKey(key)) {
     return true;
   }
   if (parent != null) {
     return parent.containsKey(key);
   }
   return false;
 }