public abstract static class BigNestedIntArray.Loader extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
reuseUsage |
| Constructor and Description |
|---|
BigNestedIntArray.Loader() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
add(int id,
int[] data,
int off,
int len) |
protected void |
allocate(int id,
int len,
boolean nonNegativeIntOnly)
allocates storage for future calls of setData.
|
protected int[] |
copyPageTo(int[] dst) |
int[][] |
finish()
finishes loading
|
void |
initialize(int size,
int[][] oldList)
initializes the loading context
|
abstract void |
load()
loads data
|
protected void |
reserve(int id,
int size)
reserves storage for the next int array data
|
protected void |
store(int[] data,
int off,
int len)
stores int array data.
|
public final void initialize(int size,
int[][] oldList)
size - public final int[][] finish()
protected final void reserve(int id,
int size)
id - size - protected final void store(int[] data,
int off,
int len)
data - off - len - protected void add(int id,
int[] data,
int off,
int len)
protected void allocate(int id,
int len,
boolean nonNegativeIntOnly)
id - len - protected int[] copyPageTo(int[] dst)
Copyright © 2005–2013. All rights reserved.