Examples of accept()


Examples of com.eclipsesource.tabris.internal.TabrisSWTClientProvider.NoVersionCheck.accept()

  @Test
  public void testNoVersionCheckIsAlwaysTrue() {
    NoVersionCheck check = new NoVersionCheck();

    assertTrue( check.accept( "", "" ) );
    assertTrue( check.accept( null, "" ) );
    assertTrue( check.accept( "", null ) );
  }
}
View Full Code Here

Examples of com.espertech.esper.epl.expression.ExprNode.accept()

    }

    private static ExprNode copyVisitExpression(ExprNode expression, ExprNodeSubselectDeclaredDotVisitor visitor) {
        try {
            ExprNode node = (ExprNode) SerializableObjectCopier.copy(expression);
            node.accept(visitor);
            return node;
        } catch (Exception e) {
            throw new RuntimeException("Internal error providing expression tree: " + e.getMessage(), e);
        }
    }
View Full Code Here

Examples of com.facebook.presto.byteCode.Block.accept()

                .append(condition)
                .ifZeroGoto(endLabel)
                .gotoLabel(beginLabel)
                .visitLabel(endLabel);

        block.accept(visitor);
    }

    @Override
    public List<ByteCodeNode> getChildNodes()
    {
View Full Code Here

Examples of com.facebook.presto.byteCode.instruction.InstructionNode.accept()

    @Override
    public void accept(MethodVisitor visitor)
    {
        InstructionNode node = invokeDynamic("load", MethodType.methodType(Slice.class), SLICE_LITERAL_BOOTSTRAP, value.toString(UTF_8));
        node.accept(visitor);
    }

    @Override
    public <T> T accept(ByteCodeNode parent, ByteCodeVisitor<T> visitor)
    {
View Full Code Here

Examples of com.facebook.presto.sql.planner.plan.PlanNode.accept()

            else {
                ImmutableList.Builder<SubPlan> sourceBuilder = ImmutableList.builder();
                ImmutableList.Builder<PlanFragmentId> fragmentIdBuilder = ImmutableList.builder();
                for (int i = 0; i < node.getSources().size(); i++) {
                    PlanNode subPlan = node.getSources().get(i);
                    SubPlanBuilder current = subPlan.accept(this, context);
                    current.setRoot(new SinkNode(idAllocator.getNextId(), current.getRoot(), node.sourceOutputLayout(i)));
                    fragmentIdBuilder.add(current.getId());
                    sourceBuilder.add(current.build());
                }
                ExchangeNode exchangeNode = new ExchangeNode(idAllocator.getNextId(), fragmentIdBuilder.build(), node.getOutputSymbols());
View Full Code Here

Examples of com.facebook.presto.sql.relational.RowExpression.accept()

            Block getSessionByteCode)
    {
        if (useNewByteCodeGenerator) {
            RowExpression translated = SqlToRowExpressionTranslator.translate(expression, types, metadata, timeZoneKey);
            NewByteCodeExpressionVisitor visitor = new NewByteCodeExpressionVisitor(bootstrap.getFunctionBinder(), getSessionByteCode, sourceIsCursor);
            return translated.accept(visitor, context);
        }
        else {
            ByteCodeExpressionVisitor visitor = new ByteCodeExpressionVisitor(metadata, bootstrap.getFunctionBinder(), types, getSessionByteCode, sourceIsCursor, timeZoneKey);
            return visitor.process(expression, context);
        }
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.filter.AbstractCommandFilter.accept()

      AbstractCommandFilter abstractCommandFilter = Context.getProcessEngineConfiguration().getAbstractCommandFilterMap()
          .get(taskCommandInst.getTaskCommandType());
      if (abstractCommandFilter != null) {
        abstractCommandFilter.setProcessTracking(isProcessTracking);
        abstractCommandFilter.setTaskCommandInst(taskCommandInst);
        if (abstractCommandFilter.accept(taskInstance)) {
          taskCommandInstsNew.add(taskCommandInst);
        }
      } else {
        if(!isProcessTracking){
          taskCommandInstsNew.add(taskCommandInst);
View Full Code Here

Examples of com.getperka.flatpack.policy.pst.PolicyFile.accept()

  public void testShuffle() {
    PolicyFile policyFile = loadTestPolicy();

    final Random r = new Random(0);
    for (int i = 0; i < 10; i++) {
      policyFile.accept(new PolicyVisitor() {

        /**
         * Shuffle nested lists.
         */
        @Override
View Full Code Here

Examples of com.google.caliper.bridge.LogMessage.accept()

            timeLimitNanos - trialStopwatch.elapsed(NANOSECONDS),
            NANOSECONDS);
        switch (item.kind()) {
          case DATA:
            LogMessage logMessage = item.content();
            logMessage.accept(measurementCollectingVisitor);
            logMessage.accept(dataCollectingVisitor);
            if (!doneCollecting && measurementCollectingVisitor.isDoneCollecting()) {
              doneCollecting = true;
              // We have received all the measurements we need and are about to tell the worker to
              // shut down.  At this point the worker should shutdown soon, but we don't want to
View Full Code Here

Examples of com.google.dart.engine.ast.AstNode.accept()

   */
  public void visitAllNodes(AstNode root) {
    queue.add(root);
    while (!queue.isEmpty()) {
      AstNode next = queue.removeFirst();
      next.accept(this);
    }
  }

  @Override
  public R visitNode(AstNode node) {
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.