Examples of Feature


Examples of com.technophobia.substeps.execution.Feature

    @Test
    public void testScenarioOutlineFailsWithNoExamples() {

        final OutlineScenarioNode outlineNode = new OutlineScenarioNode("scenarioName",
                Collections.<OutlineScenarioRowNode> emptyList(), Collections.<String> emptySet(), 2);
        final FeatureNode featureNode = new FeatureNode(new Feature("test feature", "file"),
                Collections.<ScenarioNode<?>> singletonList(outlineNode), Collections.<String> emptySet());
        final ExecutionNode rootNode = new RootNode("Description", Collections.singletonList(featureNode));

        final ExecutionNodeRunner runner = new ExecutionNodeRunner();
View Full Code Here

Examples of com.vividsolutions.jump.feature.Feature

*/
public static void print(FeatureCollection fc)
  {
    List featList = fc.getFeatures();
    for (Iterator i = featList.iterator(); i.hasNext(); ) {
      Feature f = (Feature) i.next();
      System.out.println(f.getGeometry());
    }
  }
View Full Code Here

Examples of components.features.Feature

    if ( features != null  &&  features.featuresHash != null )
    {
      for (Enumeration e = commState.featuresHash.keys(); e.hasMoreElements(); )
      {
        String featureName  = (String)e.nextElement();
        Feature feature    = (Feature)commState.featuresHash.get( featureName );
        Object value    = feature.getValue();
       
        feature        = (Feature)features.featuresHash.get( featureName );
       
        if ( feature != null )
          feature.setValue( value );
      }
    }
  }
View Full Code Here

Examples of de.FeatureModellingTool.FeatureModel.Feature

  Iterator it = selections.iterator();
  while (it.hasNext()) {
      String id = (String)it.next();
      if (id == null)
    continue;
      Feature feature = featureModel.getFeature(id);
      FeatureRelation relation = featureModel.getFeatureRelation(id);
     
      String info = "";
      if (feature != null) {
    info = feature.getName() + ": " + feature.getDescription();
      } else if (relation != null) {
    info = relation.getName();
      } else {
    info = id;
      }
View Full Code Here

Examples of de.fhpotsdam.unfolding.data.Feature

      break;
    case MULTI:
      MultiFeature multiFeature = ((MultiFeature) feature);
      if (useLargestForMulti) {
        // Return centroid of largest feature
        Feature largestFeature = getLargestFeature(multiFeature);
        location = getCentroid(largestFeature);

      } else {

        // Return centroid of all features
View Full Code Here

Examples of de.kumpelblase2.remoteentities.api.features.Feature

    }

    List<FeatureData> featureList = new ArrayList<FeatureData>();
    for(int i = 0; i < inEntity.getFeatures().getAllFeatures().size(); i++)
    {
      Feature f = inEntity.getFeatures().getAllFeatures().get(i);
      if(!f.getClass().isAnnotationPresent(IgnoreSerialization.class))
        featureList.add(new FeatureData(f));
    }

    this.features = featureList.toArray(new FeatureData[featureList.size()]);
  }
View Full Code Here

Examples of de.mhus.lib.adb.model.Feature

  }

  public Feature createFeature(DbManager manager, Table table, String name) {
   
    try {
      Feature feature = null;
   
      name = name.trim().toLowerCase();
     
      if (name.equals("accesscontrol"))
        feature = new FeatureAccessManager();
      else
      if (name.equals("cut"))
        feature = new FeatureCut();
     
      if (feature != null)
        feature.init(manager,table);
      else
        log().t("feature not found",name);
      return feature;
    } catch (Exception e) {
      log().t("feature",name,e);
View Full Code Here

Examples of de.timefinder.data.Feature

        return person;
    }

    public void createFeature() {
        Feature feature = new Feature();
        getFeatureDao().attach(feature);
        feature.setName("Feature " + feature.getId());
    }
View Full Code Here

Examples of dmt.features.Feature

        hashMap.put(fields.get(0)+fields.get(1), fields.get(2).equalsIgnoreCase("0") ? false : true);
       
        //preserve existing fields
       
        //compute the features
        Feature bagOfWordsFeature = new MostFrequentWordsFeature();
      Object[] values = bagOfWordsFeature.getValues(fields, hashMap);
      for(int j = 0; j < values.length; j++)
      {
        try
        {
          fields.add(values[j].toString());
View Full Code Here

Examples of edu.harvard.hul.ois.ots.schemas.DocumentMD.DocumentMD.Feature

        XmlContentConverter conv = new XmlContentConverter ();
        DocumentMD dmd = (DocumentMD) conv.toDocumentMD (docElem);
        List<Feature> features = dmd.getFeatures ();
        assertTrue (features.size() == 1);
        Feature feature = features.get(0);
        assertTrue (feature == Feature.hasForms);

        assertTrue (dmd.getPageCount() == 6);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.