Explorar o código

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

Mark Knol %!s(int64=8) %!d(string=hai) anos
pai
achega
dab1188b34
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>;
 
 	/**