allow long page size
This commit is contained in:
@ -10,12 +10,12 @@ public class BasePage {
|
|||||||
protected int index = 0;
|
protected int index = 0;
|
||||||
|
|
||||||
/** 数据量 */
|
/** 数据量 */
|
||||||
protected int size = 16;
|
protected long size = 16;
|
||||||
|
|
||||||
public BasePage() {
|
public BasePage() {
|
||||||
}
|
}
|
||||||
|
|
||||||
public BasePage(int index, int size) {
|
public BasePage(int index, long size) {
|
||||||
this.index = index;
|
this.index = index;
|
||||||
this.size = size;
|
this.size = size;
|
||||||
}
|
}
|
||||||
@ -36,11 +36,11 @@ public class BasePage {
|
|||||||
this.index = index;
|
this.index = index;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getSize() {
|
public long getSize() {
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setSize(int size) {
|
public void setSize(long size) {
|
||||||
this.size = size;
|
this.size = size;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user