Browse Source

`BalancedTree` implements `haxe.Constraints.IMap` (#6231)

Mark Knol 8 năm trước cách đây
mục cha
commit
dab1188b34
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      std/haxe/ds/BalancedTree.hx

+ 1 - 1
std/haxe/ds/BalancedTree.hx

@@ -32,7 +32,7 @@ package haxe.ds;
 	Iteration over keys and values, using `keys` and `iterator` respectively,
 	are in-order.
 **/
-class BalancedTree<K,V> {
+class BalancedTree<K,V> implements haxe.Constraints.IMap<K,V> {
 	var root:TreeNode<K,V>;
 
 	/**