Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
new do return new HashMap[K, V]
end
new do return new HashMap[K, V]
end
+redef class Set[E]
+ # Get an instance of `HashMap[K, V]`, the default implementation
+ new do return new HashSet[E]
+end
+
# A HashCollection is an array of HashNode[K] indexed by the K hash value
private abstract class HashCollection[K]
type N: HashNode[K]
# A HashCollection is an array of HashNode[K] indexed by the K hash value
private abstract class HashCollection[K]
type N: HashNode[K]