Re:Smjörið er brætt og hveitið smátt og smátt hrært út í það...
by nostrademons on Friday February 08, 2008 @11:47AM
(#112161)
You can always downcast in the presence of an instanceof case statement:
Or you could keep elements as Objects until you needed to perform a specific operation on them, then cast at the site and perform the operation, letting the ClassCastException propagate if you're wrong. This is basically what Arc does.
[ Parent
| on HN ]
There are no comments on this comment yet.