Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.objectweb.jonathan.resources.lib.SimpleChunkFactory
Method Summary | |
Chunk |
|
Chunk |
|
public Chunk newChunk()
Returns a chunk of a default size.
- Specified by:
- newChunk in interface ChunkFactory
- Returns:
- a chunk
public Chunk newChunk(int size)
Returns a chunk of (at least) the specified size.
- Specified by:
- newChunk in interface ChunkFactory
- Parameters:
size
- the expected size of the chunk.
- Returns:
- a chunk