Examples of key()


Examples of org.hbase.async.PutRequest.key()

      if (i % 2 == 0) {
        put = new PutRequest(table1, key, family, "q", "v");
      } else {
        put = new PutRequest(table2, key, family, "q", "v");
      }
      final DeleteRequest delete = new DeleteRequest(put.table(), put.key());
      client.delete(delete);
      client.put(put);
    }
    client.flush().joinUninterruptibly();
  }
View Full Code Here

Examples of org.jboss.as.console.client.widgets.forms.Binding.key()

            else
                detypedName = javaName;

            listType = bindingDeclaration.listType();
            skip = bindingDeclaration.skip();
            key = bindingDeclaration.key();
            expr = bindingDeclaration.expr();
            writeUndefined = bindingDeclaration.writeUndefined();
        }

        BindingDeclaration decl = new BindingDeclaration(detypedName, javaName, listType, skip, beanTypeClass.getName());
View Full Code Here

Examples of org.jboss.resteasy.annotations.providers.jaxb.WrappedMap.key()

            Element element = (Element) jaxbMap.getValue().get(i);
            NamedNodeMap attributeMap = element.getAttributes();
            String keyValue = null;
            if (wrapped != null)
            {
               keyValue = element.getAttribute(wrapped.key());

            }
            else
            {
               if (attributeMap.getLength() == 0)
View Full Code Here

Examples of org.json.JSONStringer.key()

      PrintWriter printWriter = new PrintWriter(outputStream);
      try
      {
         JSONStringer json = new JSONStringer();
         json.object().key("description").value(model.getDescription());
         json.key("children").array();
         for (String child : model.getChildren())
         {
            json.object().key("name").value(child);
            NamedDescription nd = model.getChildDescription(child);
            if (nd != null)
View Full Code Here

Examples of org.json.JSONWriter.key()

    private void writeJSON(final PrintWriter pw) {
        final JSONWriter jw = new JSONWriter(pw);
        final Instance[] instances = instanceService.getInstances();
        try {
            jw.object();
            jw.key("status");
            jw.value(getStatusLine());
            jw.key("instances");
            jw.array();
            for (Instance i : instances) {
                instanceInfo(jw, i);
View Full Code Here

Examples of org.json_voltpatches.JSONStringer.key()

    public String toJSONString() {
        try {
            JSONStringer js = new JSONStringer();

            js.object();
            js.key("type");
            js.value(getExceptionType().ordinal());
            js.key("message");
            js.value(m_message);
            js.endObject();
View Full Code Here

Examples of org.jvnet.hk2.config.Attribute.key()

            return res.getIdentity();
        }
        Method[] methods = configBeanType.getMethods();
        for (Method method : methods) {
            Attribute attributeAnnotation = method.getAnnotation(Attribute.class);
            if ((attributeAnnotation != null) && attributeAnnotation.key()) {
                return (String) method.invoke(configBean);
            }
        }
        return null;
    }
View Full Code Here

Examples of org.jvnet.hk2.config.Element.key()

        return isKey;
    }

    private boolean _isKey() {
        Element e = getAnnotation(Element.class);
        if(e!=null && e.key())  return true;

        Attribute a = getAnnotation(Attribute.class);
        return a != null && a.key();
    }
View Full Code Here

Examples of org.jvnet.sorcerer.util.JsonWriter.key()

        JsonWriter js = new JsonWriter(w);
        js.startArray();
        for (Map.Entry<PackageElement,Set<ParsedType>> pkg : pkgs.entrySet()) {
            js.startObject();
            js.property("package",pkg.getKey().getQualifiedName());
            js.key("classes");
            js.startArray();
            String[] names = new String[pkg.getValue().size()];
            int idx=0;
            for (ParsedType pt : pkg.getValue()) {
                names[idx++] = pt.getPackageLocalName();
View Full Code Here

Examples of org.moxie.console.Console.key()

    if (StringUtils.isEmpty(getCommandLine().getClassname())) {
      getCommandLine().setClassname(build.getConfig().getProjectConfig().getMainclass());
    }

    Date start = new Date();
    console.key("started", start.toString());
    console.key("mainclass", getCommandLine().getClassname());
    console.log();
   
    Path classpath = createClasspath();
    // add project compiled output path
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.