Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct Data
- private thistype next
- private thistype prev
- static method create takes nothing returns thistype
- set this.next=thistype(0).next
- set this.next.prev=this
- set this.prev=thistype(0)
- set thistype(0).next=this
- endmethod
- endstruct
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement