| | Scratch Where It's Itching : Weblog (Site not responding. Last check: 2007-10-01) |
 | | I have for example this code, which looks for a node of a given type at the end of a link. |
 | | I know that the link exists between a node of type A and a node of type B, and I want to get the node of type A, but I do not know if it is the From node or the To node. |
 | | It works like this: the class file erases the information about the real type of the object - all it knows is that it's an instance of AbstractNodeType, so casting to it is not a real casting. |
| jroller.com /page/ethdsy?entry=type_safety (347 words) |