public void printParts ( ) { if ( parts == null ) { return ; } for ( int i = 0 ; i < parts . size ( ) ; i ++ ) { System . out . println ( "\nParts[" + i + "]:" ) ; System . out . println ( parts . get ( i ) ) ; } }
Print the part information