Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Node {
- public var next:Node
- public function foo():void {
- }
- }
- //...
- for(var l:int = 0; l < loop; ++l) {
- var node:Node=v[l] as Node
- node=node.next
- }
- for(var l:int = 0; l < loop; ++l) {
- var node:Node=v[l] as Node
- node.foo()
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement