| Modifier and Type | Class and Description |
|---|---|
| public static enum | RowIdImpl.
type attributes for RowIds which simplify comparisons |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | FIRST_PAGE_NUMBER
special page number which will sort before any other valid page number |
| public static final RowIdImpl | FIRST_ROW_ID
special rowId which will sort before any other valid rowId |
| public static final int | INVALID_ROW_NUMBER
special row number representing an invalid row number |
| public static final int | LAST_PAGE_NUMBER
special page number which will sort after any other valid page number |
| public static final RowIdImpl | LAST_ROW_ID
special rowId which will sort after any other valid rowId |
| private final int | |
| private final int | |
| private static final long | |
| private final RowIdImpl. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(RowId other)
Implements java. Compares this object with the specified object for order. |
| public boolean | equals(Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| public int | |
| public RowIdImpl. | |
| public int | |
| public boolean | |
| public String | |
| private static RowIdImpl. |
| FIRST_PAGE_NUMBER | back to summary |
|---|---|
| public static final int FIRST_PAGE_NUMBER special page number which will sort before any other valid page number | |
| FIRST_ROW_ID | back to summary |
|---|---|
| public static final RowIdImpl FIRST_ROW_ID special rowId which will sort before any other valid rowId | |
| INVALID_ROW_NUMBER | back to summary |
|---|---|
| public static final int INVALID_ROW_NUMBER special row number representing an invalid row number | |
| LAST_PAGE_NUMBER | back to summary |
|---|---|
| public static final int LAST_PAGE_NUMBER special page number which will sort after any other valid page number | |
| LAST_ROW_ID | back to summary |
|---|---|
| public static final RowIdImpl LAST_ROW_ID special rowId which will sort after any other valid rowId | |
| pageNumber | back to summary |
|---|---|
| private final int pageNumber | |
| rowNumber | back to summary |
|---|---|
| private final int rowNumber | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| type | back to summary |
|---|---|
| private final RowIdImpl. | |
| RowIdImpl | back to summary |
|---|---|
| public RowIdImpl(int pageNumber, int rowNumber) Creates a new | |
| compareTo | back to summary |
|---|---|
| public int compareTo(RowId other) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getPageNumber | back to summary |
|---|---|
| public int getPageNumber() | |
| getRowNumber | back to summary |
|---|---|
| public int getRowNumber() | |
| getType | back to summary |
|---|---|
| public RowIdImpl. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isValid | back to summary |
|---|---|
| public boolean isValid() Returns | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| typeForPageNumber | back to summary |
|---|---|
| private static RowIdImpl. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final RowIdImpl. | ALWAYS_FIRST
comparable type indicating this RowId should always compare less than normal RowIds |
| public static final RowIdImpl. | ALWAYS_LAST
comparable type indicating this RowId should always compare greater than normal RowIds |
| public static final RowIdImpl. | NORMAL
comparable type indicating this RowId should always compare normally |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static RowIdImpl. | |
| public static RowIdImpl. |
| ALWAYS_FIRST | back to summary |
|---|---|
| public static final RowIdImpl. comparable type indicating this RowId should always compare less than normal RowIds | |
| ALWAYS_LAST | back to summary |
|---|---|
| public static final RowIdImpl. comparable type indicating this RowId should always compare greater than normal RowIds | |
| NORMAL | back to summary |
|---|---|
| public static final RowIdImpl. comparable type indicating this RowId should always compare normally | |
| Type | back to summary |
|---|---|
| private Type() | |
| valueOf | back to summary |
|---|---|
| public static RowIdImpl. | |
| values | back to summary |
|---|---|
| public static RowIdImpl. | |