Sha256: 5466f739efd32194602b211f6b5d9b0a1a7a7c9c4ae7c551bc84213d4318a995

Contents?: true

Size: 378 Bytes

Versions: 2

Compression:

Stored size: 378 Bytes

Contents

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Replace the top element with the given one, and return this top element.
- !ruby/struct:SM::Flow::P 
  body: "Equivalent to successively calling #pop and #push(v)."
full_name: PQueue#replace_top
is_singleton: false
name: replace_top
params: (v)
visibility: public

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facets-2.4.3 doc/ri/PQueue/replace_top-i.yaml
facets-2.4.2 doc/ri/PQueue/replace_top-i.yaml