Examples of apply()


Examples of net.sf.lapg.templates.api.ITemplate.apply()

          ? (ITemplate)loaded[0] : null;
    if (t == null) {
      return "";
    }
    try {
      return t.apply(context, this, null);
    } catch (EvaluationException ex) {
      fireError(t, ex.getMessage());
      return "";
    }
  }
View Full Code Here

Examples of net.sf.minuteProject.configuration.bean.limitation.Limitation.apply()

  public void applyLimitations() {
    //limitation: exclude-entity-without-pk
//    Limitation limitation = LimitationUtils.getLimitations (this);
    Limitation limitation = new LimitationExcludeEntityWithoutPk();
    limitation.apply(this);
    //limitation: exclude-view
   
    //limitation: exclude-table
   
  }
View Full Code Here

Examples of net.sf.minuteProject.configuration.bean.limitation.LimitationExcludeEntityWithoutPk.apply()

  public void applyLimitations() {
    //limitation: exclude-entity-without-pk
//    Limitation limitation = LimitationUtils.getLimitations (this);
    Limitation limitation = new LimitationExcludeEntityWithoutPk();
    limitation.apply(this);
    //limitation: exclude-view
   
    //limitation: exclude-table
   
  }
View Full Code Here

Examples of net.sourceforge.align.filter.Filter.apply()

   */
  @Test
  public void testEmpty() {
    Filter filter = new FractionSelector(0.8f);
    List<Alignment> alignmentList = new ArrayList<Alignment>();
    alignmentList = filter.apply(alignmentList);
    assertEquals(0, alignmentList.size());
  }
 
  /**
   * Test if a selecting from a list containing one element returns empty
View Full Code Here

Examples of net.sourceforge.align.filter.aligner.Aligner.apply()

    AlignAlgorithm algorithm =
      new AdaptiveBandAlgorithm(algorithmFactory, calculator);
   
    Filter filter = new Aligner(algorithm);
   
    return filter.apply(alignmentList);

  }

}
View Full Code Here

Examples of net.sourceforge.align.filter.aligner.UnifyAligner.apply()

  private List<Alignment> unifyAlignments(List<Alignment> alignmentList,
      List<Alignment> referenceAlignmentList) {
   
    Filter filter = new UnifyAligner(referenceAlignmentList);
   
    return filter.apply(alignmentList);
   
  }
 
 
}
View Full Code Here

Examples of net.sourceforge.align.filter.meta.CompositeFilter.apply()

   
    filterList.add(new FractionSelector(SELECT_FRACTION));
   
    Filter filter = new CompositeFilter(filterList);   
   
    return filter.apply(alignmentList);
   
  }
 
  /**
   * Second algorithm phase - align by segment contents. First trains
View Full Code Here

Examples of net.sourceforge.align.filter.modifier.Modifier.apply()

    ModifyAlgorithm targetAlgorithm =
      new UnifyRareWordsCleanAlgorithm(targetVocabulary);

    Filter filter = new Modifier(sourceAlgorithm, targetAlgorithm);
   
    return filter.apply(alignmentList);
   
  }
 
  /**
   * First algorithm phase - align text by segment length (using similar
View Full Code Here

Examples of net.sourceforge.gpstools.ovl.OVLSymbol.apply()

        linesRead = 0;
        OVLSymbol sym = readOVLSymbol(read);
        while (!eof) {
            if (sym != null) {
                // add symbol to parse tree
                sym.apply(parseresult);
            }
            // read next symbol
            sym = readOVLSymbol(read);
        }
View Full Code Here

Examples of net.sourceforge.processdash.data.compiler.node.PValue.apply()

        CompiledScript script = null;
        if (expression != null) try {
            // normalize "unvarying" references - that is,
            // references marked with braces like [{this}]
            PValue expr = (PValue) expression.clone();
            expr.apply(new NormalizeReferences(data, prefix));

            // compile the expression into a script.
            script = Compiler.compile(expr);
            script = Compiler.exprAndDefined(script, tag);
        } catch (CompilationException ce) {
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.