|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectzinger.util.recycling.StringBufferGenerator
public class StringBufferGenerator
| Field Summary | |
|---|---|
protected int |
length
|
| Constructor Summary | |
|---|---|
StringBufferGenerator()
|
|
StringBufferGenerator(int length)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
newObject()
Creates a new instance. |
boolean |
prepareObject(java.lang.Object obj,
java.lang.Object arg)
Prepares the instance for use (reuse) according to the argument passed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final int length
| Constructor Detail |
|---|
public StringBufferGenerator(int length)
public StringBufferGenerator()
| Method Detail |
|---|
public java.lang.Object newObject()
ObjectGenerator
newObject in interface ObjectGenerator
public boolean prepareObject(java.lang.Object obj,
java.lang.Object arg)
throws java.lang.IllegalArgumentException
ObjectGeneratorfalse.
prepareObject in interface ObjectGeneratortrue if the preparation succeeded
false if there is something
wrong with the object passed
java.lang.IllegalArgumentException - if the argument passed for preparation is inappropriate
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||