Function ObjectPoolSimple.Claim

Claim ()

Claim a object.

Public Static
T Claim ()

Claim a object.

Returns a pooled object if any are in the pool. Otherwise it creates a new one. After usage, this object should be released using the Release function (though not strictly necessary).