method

new

new(p1)
public

Creates a fixed-length queue with a maximum size of max.