6 fun void push ( ListItem it ) {
7 if ( next == null ) it @=> next;
14 fun void push( ListItem it) {
15 if ( root == null ) it @=> root;
18 fun int empty() { return ( root == null ); }
20 if ( empty() ) return null;
21 root @=> ListItem @ ret;
31 f.pop() @=> ListItem @ l;
34 if( l.data == 10 ) <<<"success">>>;