home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BUG 15
/
BUGCD1998_06.ISO
/
aplic
/
jbuilder
/
jsamples.z
/
SList7.java
< prev
next >
Wrap
Text File
|
1997-07-30
|
581b
|
30 lines
// Copyright(c) 1996,1997 ObjectSpace, Inc.
import COM.objectspace.jgl.*;
/**
* Removing.
*
* @see COM.objectspace.jgl.SList
* @version 2.0.2
* @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 );
}
}