src/cplib/collections/hashset

  Source   Edit

Types

HashSet[T] = object
  values*: seq[Node[T]]
  len: int
  fill: int
  mask: int
  Source   Edit

Procs

proc contains[T](self: var HashSet[T]; val: T): bool
  Source   Edit
proc excl[T](self: var HashSet[T]; val: T)
  Source   Edit
proc incl[T](self: var HashSet[T]; val: T)
  Source   Edit
proc initHashSet[T](): HashSet[T]
  Source   Edit
proc toHashSet[T](a: openArray[T]): HashSet[T]
  Source   Edit

Iterators

iterator items[T](self: HashSet[T]): T
  Source   Edit