public void garbageCollect(final GL2 gl){
  final ModelScene[] scenes=garbage.toArray(new ModelScene[0]);
  garbage.clear();
  for (  final ModelScene scene : scenes) {
    scene.wipe(gl);
    scene.dispose();
  }
}

public void garbageCollect ( final GL2 gl ) { final ModelScene [ ] scenes = garbage . toArray ( new ModelScene [ 0 ] ) ; garbage . clear ( ) ; for ( final ModelScene scene : scenes ) { scene . wipe ( gl ) ; scene . dispose ( ) ; } }
performs the management and disposal of discarded scenes
