12 method new_previous
{obj
}
19 body tlc
::Chain::constructor {args
} {
22 if {$previous != ""} {
23 set next
[$previous new_next
$this]
25 $next new_previous
$this
31 body tlc
::Chain::destructor {} {
33 $next new_previous
$previous
35 if {$previous != ""} {
36 $previous new_next
$next
41 body tlc
::Chain::new_previous {obj
} {
46 body tlc
::Chain::new_next {obj
} {
54 body tlc
::Chain::first_item {} {
55 if {$previous == ""} {
58 return [$previous first_item
]