home *** CD-ROM | disk | FTP | other *** search
Java Source | 1996-09-10 | 548 b | 31 lines |
- // Copyright(c) 1996 ObjectSpace, Inc.
-
- import jgl.*;
-
- /**
- * Removing.
- * <p>
- * @see jgl.SList
- * @version 1.1
- * @author ObjectSpace, Inc.
- */
-
- public class SList7
- {
- public static void main( String[] args )
- {
- SList list = new SList();
- list.add( "x" );
- list.add( "l" );
- list.add( "x" );
- list.add( "g" );
- list.add( "s" );
- list.add( "s" );
- System.out.println( "list = " + list );
-
- list.remove( "x" );
- System.out.println( "After list.remove( x ) = " + list );
- }
- }
-
-