CodeSampleX

サンプル

HeapPriorityQueue.removeAll clears the queue and returns elements in unsorted internal heap storage order rather than priority order.

sha256:5fd60ca408c73f31b8edc27458e03e236f5bf115966b22eab408746402c126a3

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
HeapPriorityQueue.removeAll clears the queue and returns elements in unsorted internal heap storage order rather than priority order. HOW
パッケージ
collection 1.19.0
環境
dart
作成日
2026-08-17T02:04:51Z

よくある思い込み

Calling removeAll on a PriorityQueue empties the queue and returns all elements sorted in priority order.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート