Deque<(Of <(<'T>)>)> Properties
The Deque<(Of <(<'T>)>)> type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
Capacity |
Gets or sets the capacity of the Deque. The Capacity is the number of
items that this Deque can hold without expanding its internal buffer. Since
Deque will automatically expand its buffer when necessary, in almost all cases
it is unnecessary to worry about the capacity. However, if it is known that a
Deque will contain exactly 1000 items eventually, it can slightly improve
efficiency to set the capacity to 1000 up front, so that the Deque does not
have to expand automatically.
|
![]() |
Count |
Gets the number of items currently stored in the Deque. The last item
in the Deque has index Count-1.
|
![]() |
Item |
Gets or sets an item at a particular index in the Deque.
|