question: public void addLayer ( Layer layer ) { if ( allLayers == null ) { addLayer ( layer , 0 ) ; return ; } if ( ! allLayers . contains ( layer ) ) { allLayers . add ( layer ) ; } }
target:  Add a layer to the bottom of the layer stack. If the layer is already part of the layer stack, nothing is done.