}
- public FeatureNodeContainer getFeatureNodeContainerByFeature(Feature feature) {
+ public FeatureNodeContainer getFeatureNodeContainer(Feature feature) {
List<FeatureNodeContainer> leafs = root.getLeafs();
for(FeatureNodeContainer container : leafs){
return null;
}
+ public FeatureNodeContainer getFeatureNodeContainer(FeatureNode featureNode){
+ List<FeatureNodeContainer> leafs = root.getLeafs();
+
+ for(FeatureNodeContainer container : leafs){
+ if(container.getFeatureNode().equals(featureNode)){
+ return container;
+ }
+ }
+ return null;
+ }
+
public void addContainer(FeatureNodeContainer container){
featureNodeContainers.add(container);
}