Examples of object()


Examples of org.json_voltpatches.JSONStringer.object()

    @Override
    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.sorcerer.util.JsonWriter.object()

                    }
                }
            });
            // write dependencies
            for (Dependency dep : pss.getDependencies()) {
                jw.object(dep);
            }
            jw.endObject();
        } finally {
            w.close();
        }
View Full Code Here

Examples of org.lilyproject.repository.api.MetadataBuilder.object()

            ValueSerDeser serdeser = BYTE_TO_SERDESER.get(valueType);
            if (serdeser == null) {
                throw new IllegalArgumentException("Unsupported kind of metadata value: type byte " + (int)valueType);
            }
            Object value = serdeser.deserialize(input);
            metadataBuilder.object(key, value);
        }

        // read deleted fields
        size = input.readVInt();
        for (int i = 0; i < size; i++) {
View Full Code Here

Examples of org.ozoneDB.DxLib.DxIterator.object()

    protected static void makeODMGProxies(DxHashSet classes) throws Exception {

        DxIterator it = classes.iterator();
        while (it.next() != null) {
            String name = (String) it.object();

            OPPHelper.progressMsg(name + ":", quiet);

            // create the *_Impl class of the original class
            Class cl = Class.forName(name);
View Full Code Here

Examples of org.wicketstuff.select2.json.JsonBuilder.object()

    if (value != null) {

      JsonBuilder selection = new JsonBuilder();

      try {
        selection.object();
        getProvider().toJson(value, selection);
        selection.endObject();
      } catch (JSONException e) {
        throw new RuntimeException("Error converting model object to Json", e);
      }
View Full Code Here

Examples of profiler.utils.IObjectProfileNode.object()

      if( node.name().endsWith( "#table" ) || node.name().endsWith( "#elementData" ) ) {
        IObjectProfileNode shell = null;
        int n = children.length - 1;
        for( int i = n; i >= 0; i-- ) {
          shell = children[i];
          if( shell.object() == null )
            break;
        }
        int size = node.size() - shell.size();
        double avg = (double) size / n;
View Full Code Here

Examples of se.llbit.json.JsonValue.object()

  }

  public void loadCameraPreset(String name) {
    JsonValue value = cameraPresets.get(name);
    if (!value.isUnknown()) {
      camera.fromJson(value.object());
    }
  }

  public void deleteCameraPreset(String name) {
    for (int i = 0; i < cameraPresets.getNumMember(); ++i) {
View Full Code Here

Examples of sun.jvm.hotspot.runtime.ObjectMonitor.object()

            waitingObj = waitingMonitor.object();
        }
        OopHandle pendingObj = null;
        if (pendingMonitor != null) {
            // save object of current enter() call (if any) for later comparison
            pendingObj = pendingMonitor.object();
        }

        JavaVFrame frame = myJavaThread.getLastJavaVFrameDbg();
        int depth=0;
        while (frame != null) {
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.