SHARE
TWEET

Java “extending” an object

a guest Feb 21st, 2012 4 Never
  1. StandardClass stdClass = (StandardClass)request.getAttribute(ATTR);
  2.        
  3. ExtendedClass extends StandardClass implements Observer { ... }
  4.        
  5. Observable obs = (Observable) request.getAttribute(ATTR);
  6.        
  7. request.getAttribute(ATTR);
  8.        
  9. Observer observer = (Observer) request.getAttribute(ATTR);
RAW Paste Data
Top