Protocols
The following protocols are available globally.
-
A Deque is a data structure comprised of two queues. This implementation has a front queue, which is reversed, and a back queue, which is not. Operations at either end of the Deque have the same complexity as operations on the end of either queue.
Three structs conform to the
See moreDequeType
protocol:Deque
,DequeSlice
, andContiguousDeque
. These correspond to the standard library array types.Declaration
Swift
public protocol DequeType : MutableSliceable, RangeReplaceableCollectionType, CustomDebugStringConvertible, ArrayLiteralConvertible