public static final class BigNestedIntArray.BufferedLoader extends BigNestedIntArray.Loader
reuseUsage| Constructor and Description |
|---|
BigNestedIntArray.BufferedLoader(int size) |
BigNestedIntArray.BufferedLoader(int size,
int maxItems,
BigIntBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(int id,
int val)
adds a pair of id and value to the buffer
|
int |
capacity() |
void |
load()
loads data
|
void |
reset(int size,
int maxItems,
BigIntBuffer buffer)
resets loader.
|
add, allocate, copyPageTo, finish, initialize, reserve, storepublic BigNestedIntArray.BufferedLoader(int size,
int maxItems,
BigIntBuffer buffer)
public BigNestedIntArray.BufferedLoader(int size)
public void reset(int size,
int maxItems,
BigIntBuffer buffer)
public final boolean add(int id,
int val)
id - val - public final void load()
BigNestedIntArray.Loaderload in class BigNestedIntArray.Loaderpublic final int capacity()
Copyright © 2005–2013. All rights reserved.