Queue
public class Queue<T>
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