question: protected void add ( Iterator shapeIterator ) { while ( shapeIterator . hasNext ( ) ) { try { Shape3D shape = ( Shape3D ) shapeIterator . next ( ) ; if ( shape != null ) { add ( shape ) ; } } catch ( ClassCastException cce ) { continue ; } } }
target:  Add the Shape3D objects from an iterator.