Examples of accept()


Examples of com.alibaba.druid.sql.dialect.oracle.ast.stmt.OracleMultiInsertStatement.ConditionalInsertClauseItem.accept()

                println();
            }

            ConditionalInsertClauseItem item = x.getItems().get(i);

            item.accept(this);
        }

        if (x.getElseItem() != null) {
            println();
            print("ELSE");
View Full Code Here

Examples of com.alibaba.fastjson.parser.DefaultExtJSONParser.accept()

    public void test_error_2() throws Exception {
        DefaultExtJSONParser parser = new DefaultExtJSONParser("{}");
        Exception error = null;
        try {
            parser.accept(JSONToken.NULL);
        } catch (Exception ex) {
            error = ex;
        }
        Assert.assertNotNull(error);
    }
View Full Code Here

Examples of com.alibaba.otter.shared.common.model.config.ModeValueFilter.accept()

                final ModeValueFilter modeValueFilter = ConfigHelper.makeModeValueFilter(mode, namespace);
                schemaList = DdlUtils.findSchemas(jdbcTemplate, schemaPattern, new DdlSchemaFilter() {

                    @Override
                    public boolean accept(String schemaName) {
                        return modeValueFilter.accept(schemaName);
                    }
                });
            }

            final List<String> matchSchemaTables = new ArrayList<String>();
View Full Code Here

Examples of com.atlassian.query.clause.Clause.accept()

        if(query != null && query.getWhereClause() != null)
        {
            boolean result = true;
            Clause whereClause = query.getWhereClause();
            SimpleNavigatorCollectorVisitor collector = new SimpleNavigatorCollectorVisitor(getCustomField().getClauseNames().getJqlFieldNames());
            whereClause.accept(collector);

            List<TerminalClause> clauseList = collector.getClauses();
            for(TerminalClause clause : clauseList)
            {
                if(!hasValidSimpleOperators(clause.getOperator()) || !hasValidSimpleOperand(clause.getOperand()))
View Full Code Here

Examples of com.barchart.udt.net.NetServerSocketUDT.accept()

    System.out.printf("server is ready at port: %d\n", port);

    while (true) {

      final Socket clientSocket = acceptorSocket.accept();

      // Start the read ahead background task
      Executors.newSingleThreadExecutor().submit(new Callable<Boolean>() {
        @Override
        public Boolean call() {
View Full Code Here

Examples of com.clarkparsia.pellet.rules.builtins.NumericPromotion.accept()

  private void numeric( NumericFunction f, Number expected, Number... args ) {
    NumericPromotion promoter = new NumericPromotion();
    promoter.promote( args );
   
    FunctionApplicationVisitor visitor = new FunctionApplicationVisitor( f );
    promoter.accept( visitor );
    Number result = visitor.getResult();
   
    if( expected == null ) {
      assertNull( result );
    }
View Full Code Here

Examples of com.clarkparsia.pellet.rules.model.AtomDConstant.accept()

  }
 
  public Literal set( AtomDVariable key, ATermAppl value ) {
    AtomDConstant constant = new AtomDConstant( value );
    DataValueCollector collector = new DataValueCollector();
    constant.accept( collector );
    return set( key, collector.getValue() );
  }
 
  /**
   * If the key is an instance variable, set the value.  Otherwise, ignore it.
View Full Code Here

Examples of com.clarkparsia.pellet.rules.model.AtomIConstant.accept()

 
  public Individual set( AtomIVariable key, ATermAppl value ) {
    AtomIConstant constant = new AtomIConstant( value );
    IndividualValueCollector collector = new IndividualValueCollector();
    constant.accept( collector );
    return set( key, collector.getValue() );
  }

  public String toString() {
    StringBuffer buffer = new StringBuffer("{");
View Full Code Here

Examples of com.cumulocity.me.http.WebRequestBuilder.accept()

    }

    public ResourceRepresentation post(String path, CumulocityMediaType mediaType, ResourceRepresentation representation) {
        WebRequestBuilder builder = authorizedRequest(path).type(mediaType);
        if (platformParameters.isRequireResponseBody()) {
            builder.accept(mediaType);
        }
        return builder.post(representation, HttpConnection.HTTP_CREATED, representation.getClass());
    }

    public ResourceRepresentation put(String path, CumulocityMediaType mediaType, ResourceRepresentation representation) {
View Full Code Here

Examples of com.dianping.cat.configuration.client.entity.ClientConfig.accept()

    ClientConfig clientConfig = loadConfig("client-config.xml");
    ClientConfig globalConfig = loadConfig("global-config.xml");

    Assert.assertEquals("client", clientConfig.getMode());

    globalConfig.accept(new ClientConfigMerger(clientConfig));
    clientConfig.accept(new ClientConfigValidator());

    List<Server> servers = clientConfig.getServers();

    Assert.assertEquals(3, servers.size());
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.