Examples of Function

  • net.sf.jpluck.plucker.functions.Function
  • net.sf.jsqlparser.expression.Function
    A function as MAX,COUNT...
  • net.sf.minuteProject.configuration.bean.model.data.Function
  • net.sourceforge.htmlunit.corejs.javascript.Function
    This is interface that all functions in JavaScript must implement. The interface provides for calling functions and constructors. @see net.sourceforge.htmlunit.corejs.javascript.Scriptable @author Norris Boyd
  • net.sourceforge.marathon.api.module.Function
  • nexj.core.scripting.Function
    Interface for invoking a function.
  • nodebox.function.Function
    Function wraps any kind of callable.
  • noop.model.Function
    @author alexeagle@google.com (Alex Eagle)
  • org.apache.cassandra.cql3.functions.Function
  • org.apache.commons.jxpath.Function
    Extension function interface. Extension functions are grouped into {@link Functions Functions} objects, which are installed onJXPathContexts using the {@link JXPathContext#setFunctions JXPathContext.setFunctions()}call.

    The Function interface can be implemented directly. However, most of the time JXPath's built-in implementations should suffice. See {@link ClassFunctions ClassFunctions} and {@link PackageFunctions PackageFunctions}. @author Dmitri Plotnikov @version $Revision: 1.5 $ $Date: 2003/03/11 00:59:12 $

  • org.apache.felix.service.command.Function
    A Function is a a block of code that can be executed with a set of arguments, it returns the result object of executing the script.
  • org.apache.hadoop.hive.metastore.api.Function
  • org.apache.jmeter.functions.Function
    Methods that a function must implement
  • org.apache.poi.hssf.record.formula.functions.Function
    @author Amol S. Deshmukh < amolweb at ya hoo dot com >Function serves as a marker interface.
  • org.apache.poi.ss.formula.functions.Function
    Common interface for all implementations of Excel built-in functions. @author Amol S. Deshmukh < amolweb at ya hoo dot com >
  • org.apache.tajo.catalog.function.Function
  • org.apache.vxquery.functions.Function
  • org.apache.ws.jaxme.sqls.Function
    @author Jochen Wiedmann
  • org.apache.xpath.functions.Function
    This is a superclass of all XPath functions. This allows two ways for the class to be called. One method is that the super class processes the arguments and hands the results to the derived class, the other method is that the derived class may process it's own arguments, which is faster since the arguments don't have to be added to an array, but causes a larger code footprint.
  • org.asturlinux.frade.currin.program.Function
  • org.atmosphere.wasync.Function
    A function is asynchronously invoked when a response is received, complete or not.

    This library supports predefined life cycle's events (@link Event} that can be used. For example, a Function can be defined for handling IOException:

     

    class Function<IOException>() { public void on(IOEXception ex) { } }

    This function can be registered using the {@link Socket#on(Function)} as
     

    socket.on(new Function<IOEXception>() { .... }

    This is the equivalent of doing
     

    socket.on(Event.ERROR, new Function<IOEXception>() { .... }

    Anonymous functions call also be invoked if a {@link Decoder} match its type
     

    socket.decoder(new Decoder<String, POJO>(){ @Override public POJO decode(Event e, String message) { return new POJO(message); } }

    .on(new Function<POJO>() { .... }

    @param < T> @author Jeanfrancois Arcand
  • org.auraframework.impl.expression.functions.Function
    the thing that actually executes some function in the formula engine
  • org.cfeclipse.cfml.dictionary.Function
    This is a function. Functions are like tags except they have a return type. A function derives from the Procedure class but as mentioned a moment ago, it has a return value. @author Rob
  • org.cfeclipse.cfmledit.dictionary.Function
  • org.drools.clips.Function
  • org.drools.core.rule.Function
  • org.drools.eclipse.core.Function
    This represents a function.
  • org.drools.rule.Function
  • org.eclipse.sapphire.modeling.el.Function
    @author Konstantin Komissarchik
  • org.fenixedu.academic.domain.organizationalStructure.Function
  • org.foray.fotree.value.Function
    Abstract superclass for all XSL-FO functions.
  • org.formulacompiler.compiler.Function
  • org.gdbms.engine.function.Function
    Interface to be implemented to create a function. The name will be the string used in the SQL to refeer the function. A function will be created once for each instruction execution.
  • org.gephi.appearance.api.Function
    @author mbastian
  • org.h2.expression.Function
    This class implements most built-in functions of this database.
  • org.hisrc.jscm.codemodel.expression.JSFunctionExpression.Function
  • org.jaxen.Function
    Interface for the extensible function framework.

    NOTE: This class is not typically used directly, but is exposed for writers of extended XPath packages.

    Implementations of Function are functors which are used to evaluate a function-call within an XPath expression.

    @see FunctionContext @author bob mcwhirter
  • org.jboss.gwt.flow.client.Function
    An execution delegate able to control the outcome. @author Heiko Braun @date 3/8/13
  • org.jboss.security.xacml.sunxacml.cond.Function
    Interface that all functions in the system must implement. @since 1.0 @author Seth Proctor
  • org.jenetics.util.Function
    A function of 1 parameter. @author Franz Wilhelmstötter @since 1.0 @version 1.0 — $Date$
  • org.jfree.report.expressions.Function
    The interface for report functions. A report function separates the business logic from presentation of the result.

    Since JFreeReport 0.9 functions are considered immutable. During the advancement process, the function returns a new instance with the updated state. @author Thomas Morgner

  • org.jitterbit.integration.data.function.Function
    TODO: Write this. @author Torgil Zethson
  • org.jitterbit.integration.data.script.Function
    Defines a function in the Formula Builder. @author Torgil Zethson @since 1.2
  • org.lealone.expression.Function
    This class implements most built-in functions of this database.
  • org.maltparserx.core.feature.function.Function
    @author Johan Hall
  • org.mozilla.javascript.Function
    This is interface that all functions in JavaScript must implement. The interface provides for calling functions and constructors. @see org.mozilla.javascript.Scriptable @author Norris Boyd
  • org.mvel2.ast.Function
  • org.openbel.bel.xbel.model.Function
  • org.openbel.framework.common.lang.Function
    The base class of the immutable BEL function model.

    TODO: The function model currently lacks unit tests

  • org.opengis.filter.expression.Function
    is.org/docs/02-059.pdf">Implementation specification 1.0 @version Symbology Encoding Implementation Specification 1.1.0 @author Chris Dillard (SYS Technologies) @since GeoAPI 2.0
  • org.openiaml.model.model.Function
  • org.openquark.cal.compiler.Function
    Provides an implementation of FunctionalAgent suitable for use in the type checker with functions or pattern bound variables.

    Creation date: (6/6/01 2:00:01 PM) @author Bo Ilic

  • org.openrdf.query.algebra.evaluation.function.Function
    @author Arjohn Kampman
  • org.osgi.service.command.Function
    A Function is a a block of code that can be executed with a set of arguments, it returns the result object of executing the script. TODO The javadoc in this class need a good scrub before release. @ThreadSafe @version $Revision: 5654 $
  • org.pentaho.reporting.engine.classic.core.function.Function
    The interface for report functions. A report function separates the business logic from presentation of the result. The function is called whenever JFreeReport changes its state while generating the report. The working model for the functions is based on cloning the state of the function on certain checkpoints to support the ReportState implementation of JFreeReport.

    Although functions support the ReportListener interface, they are not directly added to a report. A report FunctionCollection is used to control the functions. Functions are required to be cloneable.

    @author Thomas Morgner

  • org.pirkaengine.core.expression.Function
    関数クラス. @author shuji.w6e @since 0.1.0
  • org.qi4j.functional.Function
    Generic function interface to map from one type to another. This can be used with the Iterables methods to transform lists of objects. @param < From> @param < To>
  • org.rendersnake.js.Function
  • org.sf.feeling.swt.win32.extension.function.Function
    Win32 dll function utility class. @author cnfree
  • org.sonar.api.issue.action.Function
    @since 3.6
  • org.springframework.data.repository.query.spi.Function
    Value object to represent a function. Can either be backed by a static {@link Method} invocation (see{@link #Function(Method)}) or a method invocation on an instance (see {@link #Function(Method,Object)}. @author Thomas Darimont @author Oliver Gierke @since 1.9
  • org.springframework.data.solr.core.query.Function
    @author Christoph Strobl @since 1.1
  • org.springmodules.validation.valang.functions.Function

    A function is an implementation that returns a value based on one of more arguments. A function instance is created for each occurrence of the function in the validation language. @author Steven Devijver @since Apr 23, 2005

  • org.syrup.Function
    The function of a Task that is executed by a Worker. A concrete implementation must be a stateless (pure) Function; the Result after execution must solely depend on the Context. @author Robbert van Dalen
  • org.teiid.language.Function
    Represents a function. A function has a name and 0..n Expressions that are parameters.
  • org.teiid.query.sql.symbol.Function
    Represents a function in a sql statement. A function is a type of expression. Functions have a name and some arguments (0..n). Each argument is also an expression. After resolution, a function should have a type and a function descriptor.
  • org.zkoss.openlayers.util.Function
    A Javascript Object @author jumperchen
  • org.zkoss.xel.Function
    Represents a XEL function. @author tomyeh @since 3.0.0
  • our.apache.commons.jxpath.Function
  • prefuse.data.expression.Function
    rg">jeffrey heer
  • ptolemy.data.Function
    The interface for functions contained by function tokens. @author Xiaojun Liu, Steve Neuendorffer @version $Id: Function.java,v 1.14 2007/12/07 06:31:17 cxh Exp $ @since Ptolemy II 4.0 @Pt.ProposedRating Yellow (liuxj) @Pt.AcceptedRating Red (liuxj)
  • r.nodes.ast.Function
  • railo.transformer.bytecode.statement.udf.Function
  • swifu.main.Function
  • term02.m04_d27.functions.Function
  • tree.Function
    The Class FunctionNode. @author Anatoly Kondratyev
  • util.Function
  • webit.script.Function
    Exported function. @since 1.5.0 @author zqq
  • xbird.xquery.func.Function
    @author Makoto YUI (yuin405+xbird@gmail.com)

  • Examples of net.hydromatic.optiq.Function

      public static final RexImpTable INSTANCE = new RexImpTable();

      public CallImplementor get(final SqlOperator operator) {
        if (operator instanceof SqlUserDefinedFunction) {
          Function udf =
            ((SqlUserDefinedFunction) operator).getFunction();
          if (!(udf instanceof ImplementableFunction)) {
            throw new IllegalStateException(
                "User defined function " + operator + " must implement "
                + "ImplementableFunction");
    View Full Code Here

    Examples of net.sf.doodleproject.numerics4j.function.Function

         * @throws NumericException if the inverse cumulative probability can not be
         *         computed.
         */
        protected double findInverseCumulativeProbability(final double p,
            double lower, double initial, double upper) throws NumericException {
            Function f = new Function() {
                public double evaluate(double x) throws NumericException {
                    return cumulativeProbability(x) - p;
                }
            };

    View Full Code Here

    Examples of net.sf.jpluck.plucker.functions.Function

            // Skip insignificant content at the start of the Paragraph.
            if (!((i == 0) && !text.hasSignificantContent())) {
              text.write(out);
            }
          } else if (obj instanceof Function) {
            Function function = (Function) obj;
            if (function instanceof EmbeddedImage) {
              EmbeddedImage image = (EmbeddedImage) function;
              if (textRecord.document.getLinkableRecord(image.getURI()) == null) {
                // If the image is not found in the Document then we try to write the alt text instead.
                if ((image.getAlt() != null) && (image.getAlt().getSize() > 0) &&
                    textRecord.document.isIncludeImageAltText()) {
                  out.writeString("[");
                  image.getAlt().write(out);
                  out.writeString("]");
                }
                continue;
              }
            }
            if (function instanceof LinkFunction) {
              LinkFunction linkFunction = (LinkFunction) function;
              linkFunction.setURIResolver(textRecord.document);
            }
            if (function instanceof LinkEnd && !linkStarted) {
              continue;
            }
            if (function instanceof LinkStart) {
              LinkFunction linkFunction = (LinkFunction) function;
              boolean brokenLink = !textRecord.document.contains(URIUtil.removeAnchor(linkFunction.getURI()));
              if (brokenLink && textRecord.document.isRemoveUnresolvedLinks()) {
                linkStarted = false;
                continue;
              } else {
                linkStarted = true;
              }
              if (textRecord.document.isUseLinkColoring()) {
                Color brokenLinkColor = textRecord.document.getUnresolvedLinkColor();
                if (brokenLink && (brokenLinkColor != null)) {
                  // Add a text color function to color the link
                  TextColor textColor = new TextColor(brokenLinkColor);

                  // Preceding NUL
                  out.writeByte(0);
                  textColor.write(out);
                  linkColored = true;
                } else if (linkColor != null) {
                  // Add a text color function to color the link
                  TextColor textColor = new TextColor(linkColor);
                  // Preceding NUL
                  out.writeByte(0);
                  textColor.write(out);
                  linkColored = true;
                }
              }
            }
            if (function instanceof TextColor) {
              if (textRecord.document.isUseTextColors()) {
                textRecord.currentTextColor = ((TextColor) function).getColor();
              } else {
                continue;
              }
            }
            out.writeByte(0); // Preceding NUL
            function.write(out);
            if (function instanceof LinkEnd && linkColored) {
              // Preceding NUL
              out.writeByte(0);
              if (textRecord.currentTextColor != null) {
                new TextColor(textRecord.currentTextColor).write(out);
    View Full Code Here

    Examples of net.sf.jsqlparser.expression.Function

          result.add(be.getRightExpression());
        } else if (expr instanceof Parenthesis) {
          final Parenthesis prnths = (Parenthesis) expr;
          result.add(prnths.getExpression());
        } else if (expr instanceof Function) {
          final Function fun = (Function) expr;
          final ExpressionList params = fun.getParameters();
          if (params != null)
            result.addAll(params.getExpressions());
        } else
          return null;
        return result;
    View Full Code Here

    Examples of net.sf.minuteProject.configuration.bean.model.data.Function

        return new ArrayList<Function>();
      }
     
      public static List<Function> getFunctions(Connection connection, String schema, Database database) {
        functions = new HashMap<String, Function>();
        Function function = null;
        try {
    //      List<Function> functions = new ArrayList<Function>();
    //       
          DatabaseMetaData dbMetaData = connection.getMetaData();
          String catalog = connection.getCatalog();
          ResultSet rs;
          if ("MYSQL".equals(database.getType()))
            rs = dbMetaData.getProcedureColumns(catalog, schema, "%", "%");
          else
            rs = dbMetaData.getProcedureColumns(catalog, schema, null, null);
     
            String previousProcedureCatalog = "";
            String previousProcedureName    = "";
            while(rs.next()) {
              // get stored procedure metadata
              String procedureCatalog     = rs.getString(1);
              String procedureSchema      = rs.getString(2);
              String procedureName        = rs.getString(3);
              String columnName           = rs.getString(4);
              short  columnReturn         = rs.getShort(5);
              int    columnDataType       = rs.getInt(6);
              String columnReturnTypeName = rs.getString(7);
              int    columnPrecision      = rs.getInt(8);
              int    columnByteLength     = rs.getInt(9);
              short  columnScale          = rs.getShort(10);
              short  columnRadix          = rs.getShort(11);
              short  columnNullable       = rs.getShort(12);
              String columnRemarks        = rs.getString(13);
      
              function = getFunction (procedureCatalog, catalog, procedureName);
    //          if (procedureCatalog==null  || !procedureCatalog.equals(previousProcedureCatalog) || !procedureName.equals(previousProcedureName)) {
    //           if (function!=null)
    //             functions.add(function);
    //           function = new FunctionDDLUtils();
    //           if (procedureCatalog!=null)
    //             function.setCatalog(procedureCatalog);
    //           else
    //             function.setCatalog(catalog);
    //             function.setName(procedureName);
    //          }
              previousProcedureCatalog = (procedureCatalog!=null)?procedureCatalog:"";
              previousProcedureName    = (procedureName!=null)?procedureName:"";
             
              FunctionColumn functionColumn = new FunctionColumnDDLUtils();
              functionColumn.setName(columnName);
              functionColumn.setDirection(getDirection(columnReturn));
              functionColumn.setTypeCode(columnDataType);
              functionColumn.setType(columnReturnTypeName);//getType(columnDataType));
              functionColumn.setPrecisionRadix(columnRadix);
              functionColumn.setSizeAndScale(columnByteLength, columnScale);
              functionColumn.setSize(columnByteLength+"");
              functionColumn.setPrecision(columnPrecision);
              functionColumn.setRequired((columnNullable==0)?true:false);
              functionColumn.setDescription(columnRemarks);
              function.addColumn(functionColumn);
             
              function.setDatabase(database);
              functions.put(getKey(procedureCatalog, catalog, procedureName), function);
            }
           
            connection.close();
            return new ArrayList<Function>(functions.values());
    View Full Code Here

    Examples of net.sourceforge.htmlunit.corejs.javascript.Function

          logger.log(TreeLogger.ERROR, "function " + methodName
              + " NOT FOUND, thisObj: " + jsThis + ", methodName: " + methodName);
          // TODO: see if this maps to QUIT
          return new ExceptionOrReturnValue(true, new Value(null));
        }
        Function jsFunction = (Function) functionObject;
        logger.log(TreeLogger.SPAM, "INVOKE: jsFunction: " + jsFunction);

        Object jsArgs[] = new Object[args.length];
        for (int i = 0; i < args.length; i++) {
          jsArgs[i] = makeJsvalFromValue(jsContext, args[i]);
    View Full Code Here

    Examples of net.sourceforge.marathon.api.module.Function

            Module modForSingleMethodFile = modForFilesAndDirsInModDir.get(0);
            Assert.assertTrue(modForSingleMethodFile.isFile());
            List<Function> functionsInFile = modForSingleMethodFile.getFunctions();
            Assert.assertEquals(1, functionsInFile.size());

            Function function = functionsInFile.get(0);
            Assert.assertTrue(function.getName().equals("firstMethod"));
        }
    View Full Code Here

    Examples of nexj.core.scripting.Function

                         bMissing = true;

                         break;
                      }

                      Function fun = arg.getDefaultValueFunction();

                      if (fun == null)
                      {
                         bMissing = true;
    View Full Code Here

    Examples of nodebox.function.Function

            }
            return invokeNode(node, arguments);
        }

        private Object invokeNode(Node node, Object[] arguments) {
            Function function = functionRepository.getFunction(node.getFunction());
            return invokeFunction(node, function, arguments);
        }
    View Full Code Here

    Examples of noop.model.Function

      }

      @Test public void shouldRunTheHelloWorldProgram() throws Exception {
        UUID uuid = UUID.randomUUID();   
        Project project = new Project("Hello World", "com.example", "");
        project.addLibrary(new Library(uuid, "hello")).addFunction(new Function("go"));
        controller.addProject(new NewProjectOperation(project));
        repository.save(project);
        StandardLibraryBuilder stdLib = new StandardLibraryBuilder().build(controller);
        repository.save(stdLib.noop);
    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.