public class PrimaryKeyRange extends Object
Represents a range of available primary keys.
Constructor and Description |
---|
PrimaryKeyRange(long first,
long last) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
long |
getFirst()
Returns the first available primary key in the range.
|
long |
getLast()
Returns the last available primary key in the range (exclusive).
|
int |
hashCode() |
String |
toString() |
public PrimaryKeyRange(long first, long last)
first
- the first primary key in the range (inclusive)last
- the last primary key in the range (exclusive)public long getFirst()
Returns the first available primary key in the range.
public long getLast()
Returns the last available primary key in the range (exclusive).
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.