8 public floor( String l ) {
9 rooms = new SortedVector( new roomCmp() );
11 int i = l.indexOf( '|' );
12 num = l.substring( 0, i );
13 number = citadel.atoi( num );
15 int j = l.indexOf( '|', ++i );
16 name = l.substring( i, j );
18 ref_count = citadel.atoi( l.substring( j+1 ) );
20 /* System.out.println( "floor name: " + name );
21 System.out.println( "number : " + number );
22 System.out.println( "ref_count : " + ref_count );*/
25 public void addRoom( room r ) {
26 /* System.out.println( "adding " + r.name() + " to " + name ); */
27 rooms.addElement( r );
38 public String name() {