Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.SerializedObject
Source: src/com/multiversesocial/hyperview/SerializedObject.java
Add up field sizes to compute total size
public class SerializedObject extends Linkable implements ExternalizerConstants
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
byte[] byteData | No comment in source; assigned in SerializedObject(); used in pack(), getBytes(). | ||
int byteSize | No comment in source; assigned in SerializedObject(); used in paint(). | ||
HyperLinkedList fieldList | Derive number of fields/ClassFieldLinks from this list | ||
byte minorVersion | No comment in source; assigned in SerializedObject(). | ||
Serialization serializer | No comment in source; used in pack(). | ||
byte type | No comment in source; not referenced by name in this type’s methods. | ||
byte version | No comment in source; assigned in SerializedObject(). | ||
int x | No comment in source; assigned in SerializedObject(); used in paint(). | ||
int xOffset | No comment in source; assigned in SerializedObject(); used in paint(). | ||
int y | No comment in source; assigned in SerializedObject(); used in paint(). | ||
int yOffset | No comment in source; assigned in SerializedObject(); used in paint(). |
| Signature | Description | Source |
|---|---|---|
SerializedObject() | 4 statement(s); calls super(). | |
SerializedObject(Object tSerializer, HyperLinkedList tFieldList) | 7 statement(s); calls super(), tSerializer.getClass().getName(), tSerializer.getClass(), ClassFieldLink.listByteSize(), notifyAll(); creates IllegalArgumentException. |
| Signature | Description | Source |
|---|---|---|
public byte[] getBytes() | Returns (byte[])byteData. | |
public int pack(Object sourceObject) | 3 statement(s); calls serializer.pack(). | |
public void paint(Graphics g) | Visualize packed POD blob size/position (CHD serialize has no paint). |
Fields: attachment, index, linkFlags, name, next, parentList, prev
Methods: inList(), setName(String)
declaration — Externalizer.java, line 353
353 public static int pack(SerializedObject tObject)
354 {