Queue
public class Queue<T> where T : Equatable
Implements a queue - helper class that uses an array internally.
-
Undocumented
Declaration
Swift
public init() -
Undocumented
Declaration
Swift
public var isEmpty: Bool { get } -
Undocumented
Declaration
Swift
public func push(_ element: T) -
Undocumented
Declaration
Swift
public func pop() -> T -
Undocumented
Declaration
Swift
public var front: T { get } -
Undocumented
Declaration
Swift
public var count: Int { get } -
Undocumented
Declaration
Swift
public func contains(_ thing: T) -> Bool
View on GitHub
Queue Class Reference