pushpop method

dynamic pushpop(
  1. dynamic x
)

Implementation

pushpop(x) {
  return _heappushpop(this.nodes, x, this.cmp);
}