![]() |
V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
|
Public Member Functions | |
| Collector (int initial_capacity=kMinCapacity) | |
| void | Add (T value) |
| Vector< T > | AddBlock (int size, T initial_value) |
| Vector< T > | AddBlock (Vector< const T > source) |
| void | WriteTo (Vector< T > destination) |
| Vector< T > | ToVector () |
| virtual void | Reset () |
| int | size () |
Protected Member Functions | |
| void | Grow (int min_capacity) |
| virtual void | NewChunk (int new_capacity) |
Protected Attributes | |
| std::vector< Vector< T > > | chunks_ |
| Vector< T > | current_chunk_ |
| int | index_ |
| int | size_ |
Static Protected Attributes | |
| static const int | kMinCapacity = 16 |
Definition at line 26 of file collector.h.