Examples of names()


Examples of com.sun.sgs.impl.service.data.store.DbUtilities.Databases.names()

      dbTxn = env.beginTransaction(Long.MAX_VALUE);
      Databases dbs = DbUtilities.getDatabases(env, dbTxn, logger);
      infoDb = dbs.info();
      classesDb = dbs.classes();
      oidsDb = dbs.oids();
      namesDb = dbs.names();
      nodeId = DataStoreHeader.getNextId(
    DataStoreHeader.NEXT_NODE_ID_KEY, infoDb, dbTxn, 1);
      useAllocationBlockPlaceholders =
    env.useAllocationBlockPlaceholders();
      freeObjectIds = new FreeObjectIds(useAllocationBlockPlaceholders);
View Full Code Here

Examples of io.netty.handler.codec.http.HttpHeaders.names()

        }
    }

    private void setHeaders(HttpRequest httpRequest, FullHttpRequest nettyHttpRequest) {
        HttpHeaders headers = nettyHttpRequest.headers();
        for (String headerName : headers.names()) {
            httpRequest.withHeader(new Header(headerName, headers.getAll(headerName)));
        }
    }

    private void setCookies(HttpRequest httpRequest, FullHttpRequest nettyHttpRequest) {
View Full Code Here

Examples of io.vertx.core.MultiMap.names()

  @Test
  public void testNamesTest1()
      throws Exception {
    MultiMap mmap = new CaseInsensitiveHeaders();

    Set<String> result = mmap.names();

    assertNotNull(result);
    assertEquals(0, result.size());
  }
View Full Code Here

Examples of io.vertx.core.http.CaseInsensitiveHeaders.names()

  @Test
  public void testNamesTest1()
      throws Exception {
    MultiMap mmap = new CaseInsensitiveHeaders();

    Set<String> result = mmap.names();

    assertNotNull(result);
    assertEquals(0, result.size());
  }
View Full Code Here

Examples of juzu.impl.common.JSON.names()

        final ClassLoader cl = Thread.currentThread().getContextClassLoader();
        InputStream in = cl.getResourceAsStream("juzu/config.json");
        String serializedConfig = Tools.read(in);
        JSON config = (JSON)JSON.parse(serializedConfig);
        JSON applications = config.getJSON("application");
        if (applications.names().size() != 1) {
          throw new RuntimeException("Was expecting application size to be 1 instead of " + applications);
        }
        String packageFQN = applications.names().iterator().next();
        ApplicationDescriptor descriptor = ApplicationDescriptor.create(cl, packageFQN);
        // For now we don't resolve anything...
View Full Code Here

Examples of net.sf.jpacriteria.argument.Argument.names()

    }

    public Query toQuery(EntityManager entityManager, Argument... arguments) {
        Query query = entityManager.createQuery(queryString);
        Argument arg = Arguments.union(this.argument, arguments);
        for (String name : arg.names()) {
            query.setParameter(name, arg.get(name));
        }
        if (firstResult != null) {
            query.setFirstResult(firstResult);
        }
View Full Code Here

Examples of net.sf.json.JSONObject.names()

        JSONArray array = (JSONArray) JSONSerializer.toJSON(json);
        int size = array.size();
       
        for(int i = 0; i < size; i++){
          JSONObject object = array.getJSONObject(i);
          String name = object.names().getString(0);
          JSONArray array_object = object.getJSONArray(name);
          int arraySize = array_object.size();
          Entity entity = new Entity(name);
         
        for(int j = 0; j < arraySize; j++){
View Full Code Here

Examples of org.apache.drill.exec.expr.annotations.FunctionTemplate.names()

    FunctionTemplate template = clazz.getAnnotation(FunctionTemplate.class);
    if(template == null){
      return failure("Class does not declare FunctionTemplate annotation.", clazz);
    }

    if ((template.name().isEmpty() && template.names().length == 0) || // none set
        (!template.name().isEmpty() && template.names().length != 0)) { // both are set
      return failure("Must use only one annotations 'name' or 'names', not both", clazz);
    }

    // start by getting field information.
View Full Code Here

Examples of org.apache.felix.service.command.Parameter.names()

                    d = findAnnotation(anns[paramIdx], Descriptor.class);
                    if (p != null)
                    {
                        if (p.presentValue().equals(Parameter.UNSPECIFIED))
                        {
                            options.put(p.names()[0], p);
                            if (d != null)
                            {
                                optionDescs.put(p.names()[0], d.value());
                            }
                        }
View Full Code Here

Examples of org.apache.felix.service.command.Parameter.names()

                        if (p.presentValue().equals(Parameter.UNSPECIFIED))
                        {
                            options.put(p.names()[0], p);
                            if (d != null)
                            {
                                optionDescs.put(p.names()[0], d.value());
                            }
                        }
                        else
                        {
                            flags.put(p.names()[0], p);
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.