set


Keywords
set
License
MIT
Install
haxelib install set 0.1.0

Documentation

set

Set<V> using a Map<V, Bool> implementation.

interface ISet<V> {
  var length(default, null): Int;
  function add(value: V): Void;
  function remove(value: V): Bool;
  function exists(value: V): Bool;
  function iterator(): Iterator<V>;
  function copy(): ISet<V>;
  function toString(): String;
  function clear(): Void;
}