|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonathan.resources.lib.SimpleChunkFactory
A naive Chunk Factory implementation : it simply returns chunks on demand.
Method Summary | |
Chunk |
newChunk()
Returns a chunk of a default size. |
Chunk |
newChunk(int size)
Returns a chunk of (at least) the specified size. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public Chunk newChunk()
newChunk
in interface ChunkFactory
public Chunk newChunk(int size)
newChunk
in interface ChunkFactory
size
- the expected size of the chunk.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |