public class ObjectStreamField extends Object implements Comparable
Constructor and Description |
---|
ObjectStreamField(String name,
Class type) |
ObjectStreamField(String name,
Class type,
boolean unshared) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o) |
String |
getName() |
int |
getOffset() |
Class |
getType() |
char |
getTypeCode() |
String |
getTypeString() |
boolean |
isPrimitive() |
boolean |
isUnshared() |
protected void |
setOffset(int off) |
String |
toString()
Default String representation: overriden by many classes.
|
public boolean isUnshared()
public String getName()
public Class getType()
public char getTypeCode()
public String getTypeString()
public boolean isPrimitive()
public String toString()
Object
public int compareTo(Object o)
compareTo
in interface Comparable
public int getOffset()
protected void setOffset(int off)