| Method | Defined by | ||
|---|---|---|---|
|
PropertyPool(growthRate:int)
Creates a new
PropertyPool. | PropertyPool | ||
|
Returns a
Property object out of the pool. | PropertyPool | ||
|
Puts a property object back to the pool.
| PropertyPool | ||
| PropertyPool | () | constructor |
public function PropertyPool(growthRate:int)
Creates a new PropertyPool.
growthRate:int — growth rate of the pool
|
| acquire | () | method |
public function acquire():Property
Returns a Property object out of the pool.
Property —
a Property object out of the pool
|
| release | () | method |
public function release(p:Property):voidPuts a property object back to the pool.
Parametersp:Property — property object to be released
|