|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.healthmarketscience.jackcess.impl.RowIdImpl
public class RowIdImpl
Uniquely identifies a row of data within the access database.
| Nested Class Summary | |
|---|---|
static class |
RowIdImpl.Type
type attributes for RowIds which simplify comparisons |
| Field Summary | |
|---|---|
static int |
FIRST_PAGE_NUMBER
special page number which will sort before any other valid page number |
static RowIdImpl |
FIRST_ROW_ID
special rowId which will sort before any other valid rowId |
static int |
INVALID_ROW_NUMBER
special row number representing an invalid row number |
static int |
LAST_PAGE_NUMBER
special page number which will sort after any other valid page number |
static RowIdImpl |
LAST_ROW_ID
special rowId which will sort after any other valid rowId |
| Constructor Summary | |
|---|---|
RowIdImpl(int pageNumber,
int rowNumber)
Creates a new RowId instance. |
|
| Method Summary | |
|---|---|
int |
compareTo(RowId other)
|
int |
compareTo(RowIdImpl other)
|
boolean |
equals(Object o)
|
int |
getPageNumber()
|
int |
getRowNumber()
|
RowIdImpl.Type |
getType()
|
int |
hashCode()
|
boolean |
isValid()
Returns true if this rowId potentially represents an actual row
of data, false otherwise. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int FIRST_PAGE_NUMBER
public static final int LAST_PAGE_NUMBER
public static final int INVALID_ROW_NUMBER
public static final RowIdImpl FIRST_ROW_ID
public static final RowIdImpl LAST_ROW_ID
| Constructor Detail |
|---|
public RowIdImpl(int pageNumber,
int rowNumber)
RowId instance.
| Method Detail |
|---|
public int getPageNumber()
public int getRowNumber()
public boolean isValid()
true if this rowId potentially represents an actual row
of data, false otherwise.
public RowIdImpl.Type getType()
public int compareTo(RowId other)
compareTo in interface Comparable<RowId>public int compareTo(RowIdImpl other)
public int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||