| java.lang.Object | |
| ↳ | android.support.v4.util.Pools.SimplePool<T> |
Known Direct Subclasses
|
Simple (non-synchronized) pool of objects.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Creates a new instance.
|
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
||||||||||
|
|
Release an instance to the pool.
|
||||||||||
|
[Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
|||||||||||
From interface
android.support.v4.util.Pools.Pool
|
|||||||||||
Creates a new instance.
| maxPoolSize | The max pool size. |
|---|
| IllegalArgumentException | If the max pool size is less than zero. |
|---|
Release an instance to the pool.
| instance | The instance to release. |
|---|