|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openjdk.jol.info.FieldLayout
public class FieldLayout
Holds the field info with the layout.
Constructor Summary | |
---|---|
FieldLayout(FieldData fieldData,
int offset,
int size)
Construct field layout with discovered offset and field size. |
Method Summary | |
---|---|
int |
compareTo(FieldLayout o)
|
boolean |
equals(Object o)
|
int |
hashCode()
|
String |
hostClass()
Answers the class for the field holder. |
String |
name()
Answers the field name. |
int |
offset()
Answers field offset |
String |
safeValue(Object object)
Gets the string representation of field value, if appropriate. |
int |
size()
Answers field size |
String |
toString()
|
String |
typeClass()
Answers the class for the field type |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FieldLayout(FieldData fieldData, int offset, int size)
fieldData
- field data for the fieldoffset
- discovered offsetsize
- discovered field sizeMethod Detail |
---|
public int offset()
public int size()
public String typeClass()
public String hostClass()
public String name()
public String safeValue(Object object)
object
- the object to read the contents from
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int compareTo(FieldLayout o)
compareTo
in interface Comparable<FieldLayout>
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |