RingBuffer

public class RingBuffer<T>

Undocumented

  • Undocumented

    Declaration

    Swift

    public var description: String { get }
  • Undocumented

    Declaration

    Swift

    public init(_ size: Int)
  • Undocumented

    Declaration

    Swift

    public func push(_ item: T)
  • Undocumented

    Declaration

    Swift

    public func size() -> Int
  • Undocumented

    Declaration

    Swift

    public func get(_ index: Int) -> T?
  • Undocumented

    Declaration

    Swift

    public func clear()
  • Undocumented

    Declaration

    Swift

    public func latest() -> T?