|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.io.amf.TraitsInfo
public class TraitsInfo
AVM+ Serialization optimizes object serialization by serializing the traits of a type once, and then sending only the values of each instance of the type as it occurs in the stream.
| Constructor Summary | |
|---|---|
TraitsInfo(String className)
|
|
TraitsInfo(String className,
boolean dynamic,
boolean externalizable,
int initialCount)
|
|
TraitsInfo(String className,
boolean dynamic,
boolean externalizable,
List properties)
|
|
TraitsInfo(String className,
int initialCount)
|
|
| Method Summary | |
|---|---|
void |
addAllProperties(Collection props)
|
void |
addProperty(String name)
|
boolean |
equals(Object obj)
|
String |
getClassName()
|
List |
getProperties()
|
String |
getProperty(int i)
|
int |
hashCode()
Instances of types with the same classname and number of properties may return the same hash code, however, an equality test will fully test whether they match exactly on individual property names. |
boolean |
isDynamic()
|
boolean |
isExternalizable()
|
int |
length()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TraitsInfo(String className)
public TraitsInfo(String className,
int initialCount)
public TraitsInfo(String className,
boolean dynamic,
boolean externalizable,
int initialCount)
public TraitsInfo(String className,
boolean dynamic,
boolean externalizable,
List properties)
| Method Detail |
|---|
public boolean isDynamic()
public boolean isExternalizable()
public int length()
public String getClassName()
public void addProperty(String name)
public void addAllProperties(Collection props)
public String getProperty(int i)
public List getProperties()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/io/amf/TraitsInfo.html