public static class TableOfContents.Section extends Object implements Comparable<TableOfContents.Section>
| Modifier and Type | Field and Description |
|---|---|
int |
byteCount |
int |
off |
int |
size |
short |
type |
| Constructor and Description |
|---|
Section(int type) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TableOfContents.Section section)
Compares this object to the specified object to determine their relative
order.
|
boolean |
exists() |
String |
toString()
Returns a string containing a concise, human-readable description of this
object.
|
public final short type
public int size
public int off
public int byteCount
public boolean exists()
public int compareTo(TableOfContents.Section section)
ComparablecompareTo in interface Comparable<TableOfContents.Section>section - the object to compare to this instance.another;
a positive integer if this instance is greater than
another; 0 if this instance has the same order as
another.public String toString()
ObjectgetClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString method
if you intend implementing your own toString method.