PageRenderTime 26ms CodeModel.GetById 18ms app.highlight 5ms RepoModel.GetById 0ms app.codeStats 0ms

/donations/dcl/doc/Interfaces/Set.html

https://github.com/the-Arioch/jcl
HTML | 78 lines | 67 code | 10 blank | 1 comment | 0 complexity | 096ad244096a7fc8e84706f09962846b MD5 | raw file
Possible License(s): BSD-3-Clause
 1<html>
 2<!-- Creation date: 23/01/2002 -->
 3<head>
 4<title></title>
 5<meta name="Description" content="">
 6<meta name="Keywords" content="">
 7<meta name="Author" content="RANDOM">
 8<meta name="Generator" content="AceHTML 4 Pro">
 9<link href="../SeldonWeb.css" type="text/css" rel="stylesheet">
10</head>
11<body>
12<center><h1>IIntfSet/IStrSet/ISet</h1></center>
13
14<h2>Unit</h2>
15	DCL_intf
16
17<h2>Inheritance</h2>
18	<p>Derived from <a href="Collection.html">IIntfCollection/IStrCollection/ICollection</a></p>
19
20<h2>Methods</h2>
21<h3>IIntfSet</h3>
22<code>
23    <b>procedure</b> Intersect(ACollection: IIntfCollection);<br>
24    <b>procedure</b> Union(ACollection: IIntfCollection);<br>
25    <b>procedure</b> Subtract(ACollection: IIntfCollection);<br>
26</code>
27
28<h3>IStrSet</h3>
29<code>
30    <b>procedure</b> Intersect(ACollection: IStrCollection);<br>
31    <b>procedure</b> Subtract(ACollection: IStrCollection);<br>
32    <b>procedure</b> Union(ACollection: IStrCollection);<br>
33</code>
34
35<h3>ISet</h3>
36<code>
37    <b>procedure</b> Intersect(ACollection: ICollection);<br>
38    <b>procedure</b> Union(ACollection: ICollection);<br>
39    <b>procedure</b> Subtract(ACollection: ICollection);<br>
40</code>
41
42<h2>Description</h2>
43
44<p>A set is a collection which must be contain unique object.</p>
45
46<table border="1" width="80%" align="center" bgcolor="white" cellpadding="5" cellspacing="0">
47  <tr>
48  	<th bgcolor="silver"> Method	</td>
49		<th bgcolor="silver"> Description </td>
50  </tr>
51  <tr>
52    <td>Intersect</td>
53    <td>
54			Keep only objects that are present in <i>ACollection</i> and in the set.
55		</td>
56  </tr>
57  <tr>
58    <td>Union</td>
59    <td>
60			Add all objects from <i>ACollection</i> in the set.
61		</td>
62  </tr>
63  <tr>
64    <td>Substract</td>
65    <td>
66			Remove all objects taht are present in <i>ACollection</i> from the set.
67		</td>
68  </tr>
69</table>
70
71<h2>Implemented By</h2>
72	<ul>
73		<li> <a href="../Classes/ArraySet.html">ArraySet</a>
74		<li> <a href="../Classes/HashSet.html">HashSet</a>
75	</ul>
76
77</body>
78</html>