HashMap map = new HashMap()
hs.put("base", new Base())
hs.put("derived", new Derived())
Derived d = hs.get("derived")
Reference 'd' can only point to the Derived at runtime, even though
the internal structures of the map will have references to both base
and derived, but r. VHFilter enforces this constraint.
--Ari
> --
> You received this message because you are subscribed to the Google Groups "chord-discuss" group.
> To post to this group, send email to chord-...@googlegroups.com.
> To unsubscribe from this group, send email to chord-discus...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/chord-discuss?hl=en.
>
--
Ari Rabkin asra...@gmail.com
UC Berkeley Computer Science Department