system/src/sc/layer/LayeredSystem.java
private List<Layer> initLayers(List<String> layerNames, String relDir, String relPath, boolean markDynamic, LayerParamInfo lpi, boolean specified) {
      List<Layer> layers = new ArrayList<Layer>();
      for (String layerName:layerNames) {
         Layer l = initLayer(layerName, relDir, relPath, markDynamic, lpi);
         layers.add(l);
         if (l != null && l.layeredSystem != this)
            System.out.println("*** initLayer returned mismatching runtime");
         if (specified && !specifiedLayers.contains(l) && l != null)
            specifiedLayers.add(l);
         lpi.createdLayers.add(l);
      }
      return layers;
   }
/**
    * Initializes the list of layers with the given layer names as specified by the user either on the command line
    * or in the extends of the parent layer.  When a parent layer is used, it provides possibly a relative directory
    * (i.e. to take you out of the layer directory) and a relative path, i.e. so you can resolve layers in the same
    * group without specifying the full name.
    */
Initializes the list of layers with the given layer names as specified by the user either on the command line
or in the extends of the parent layer.  When a parent layer is used, it provides possibly a relative directory
and a relative path, i.e. so you can resolve layers in the same
group without specifying the full name.
Initializes the list of layers with the given layer names as specified by the user either on the command line or in the extends of the parent layer . When a parent layer is used it provides possibly a relative directory and a relative path i . e . so you can resolve layers in the same group without specifying the full name .
private List<Layer> initLayers(List<String> layerNames, String relDir, String relPath, boolean markDynamic, LayerParamInfo lpi, boolean specified) {
      List<Layer> layers = new ArrayList<Layer>();
      for (String layerName:layerNames) {
         Layer l = initLayer(layerName, relDir, relPath, markDynamic, lpi);
         layers.add(l);
         if (l != null && l.layeredSystem != this)
            System.out.println("*** initLayer returned mismatching runtime");
         if (specified && !specifiedLayers.contains(l) && l != null)
            specifiedLayers.add(l);
         lpi.createdLayers.add(l);
      }
      return layers;
   }
private List < Layer > initLayers ( List < String > layerNames , String relDir , String relPath , boolean markDynamic , LayerParamInfo lpi , boolean specified ) { List < Layer > layers = new ArrayList < Layer > ( ) ; for ( String layerName : layerNames ) { Layer l = initLayer ( layerName , relDir , relPath , markDynamic , lpi ) ; layers . add ( l ) ; if ( l != null && l . layeredSystem != this ) System . out . println ( "*** initLayer returned mismatching runtime" ) ; if ( specified && ! specifiedLayers . contains ( l ) && l != null ) specifiedLayers . add ( l ) ; lpi . createdLayers . add ( l ) ; } return layers ; }
Initializes the list of layers with the given layer names as specified by the user either on the command line
 or in the extends of the parent layer.
Initializes the list of layers with the given layer names as specified by the user either on the command line or in the extends of the parent layer .