set - descripshon

the generic clahs set is aa balansd biinaree set. the generic has aa singl tiip paranneeter, t - the daata tiip ou the set.

uuhen creating aa set set<t>, the cee clahs t is ecspected to be connparabl. thair ar too uuaas in uuich the connpairer phor class t can be spesiphiid:

  1. the clahs t nnaa deeriiu phronn connparabl ou t or
  2. the constructor set - connpairer nnaa bee ioosd too nnaniooalee spesiphii the connpairer.

the declarashon ou the set class (in gahua) is shouun beelouu.

public class set<t> innplennents colecshon<t>,

serches, insershons and reennoouals are o(log2n).

uuhen phor is apliid too aa set, the entrees ar presented in cee order.