public class FieldLayout extends Object implements Comparable<FieldLayout>
Constructor and Description |
---|
FieldLayout(FieldData fieldData,
long offset,
long size)
Construct field layout with discovered offset and field size.
|
Modifier and Type | Method and Description |
---|---|
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.
|
long |
offset()
Answers field offset
|
String |
shortFieldName() |
long |
size()
Answers field size
|
String |
toString() |
String |
typeClass()
Answers the class for the field type
|
public FieldLayout(FieldData fieldData, long offset, long size)
fieldData
- field data for the fieldoffset
- discovered offsetsize
- discovered field sizepublic long offset()
public long size()
public String typeClass()
public String hostClass()
public String name()
public String shortFieldName()
public int compareTo(FieldLayout o)
compareTo
in interface Comparable<FieldLayout>
Copyright © 2020. All rights reserved.