1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
<!DOCTYPE HTML SYSTEM>
<!-- Generated by Lisaac shorter / html style -->
<html>
<head>
<title>
Lisaac prototype interface
</title>
</head>
<body BGCOLOR="#FFFFFF">
<br><br><strong><font color="#A020F0">Section</font></strong> <strong><font color="#A020F0">Header</font></strong>
<br><br><strong><font color="#FF0000">    +</font></strong> <strong><font color="#0000FF">name</font></strong> := <a href="COMPARABLE.html"><font color="#008000">COMPARABLE</font></a>;
<br><br><strong><font color="#FF0000">    -</font></strong> <strong><font color="#0000FF">comment</font></strong> := <font color="#BC8F8F">" All classes handling COMPARABLE objects with a total order\
\relation should inherit from this class."</font>;
<br><br><strong><font color="#A020F0">Section</font></strong> <strong><font color="#A020F0">Inherit</font></strong>
<br><br><strong><font color="#FF0000">    -</font></strong> <strong><font color="#0000FF">parent_object</font></strong>:<a href="OBJECT.html"><font color="#008000">OBJECT</font></a> :=
<br><br><strong><font color="#A020F0">Section</font></strong> <strong><font color="#A020F0">Public</font></strong>
<br><br><strong><font color="#FF0000">    -</font></strong> '<font color="#B8860B">==</font>' <strong><font color="#A020F0">Right</font></strong> <font color="#A020F0">60</font> other:<font color="#008000">SELF</font> :<a href="BOOLEAN.html"><font color="#008000">BOOLEAN</font></a> <-
<br><br><strong><font color="#FF0000">    -</font></strong> '<font color="#B8860B"><</font>' <strong><font color="#A020F0">Left</font></strong> <font color="#A020F0">1</font> other:<font color="#008000">SELF</font> :<a href="BOOLEAN.html"><font color="#008000">BOOLEAN</font></a> <-
<br><em><strong><font color="#707070">        Is `self' strictly less than `other'?</font></strong></em>
<br><br><strong><font color="#FF0000">    -</font></strong> '<font color="#B8860B"><=</font>' <strong><font color="#A020F0">Left</font></strong> <font color="#A020F0">1</font> other:<font color="#008000">SELF</font> :<a href="BOOLEAN.html"><font color="#008000">BOOLEAN</font></a> <-
<br><em><strong><font color="#707070">        Is `self' less than or equal `other'?</font></strong></em>
<br><br><strong><font color="#FF0000">    -</font></strong> '<font color="#B8860B">></font>' other:<font color="#008000">SELF</font> :<a href="BOOLEAN.html"><font color="#008000">BOOLEAN</font></a> <-
<br><em><strong><font color="#707070">        Is `self' strictly greater than `other'?</font></strong></em>
<br><br><strong><font color="#FF0000">    -</font></strong> '<font color="#B8860B">>=</font>' other:<font color="#008000">SELF</font> :<a href="BOOLEAN.html"><font color="#008000">BOOLEAN</font></a> <-
<br><em><strong><font color="#707070">        Is `self' greater than or equal than `other'?</font></strong></em>
<br><br><strong><font color="#FF0000">    -</font></strong> <strong><font color="#0000FF">in_range</font></strong> lower:<font color="#008000">SELF</font> <strong><font color="#0000FF">to</font></strong> upper:<font color="#008000">SELF</font> :<a href="BOOLEAN.html"><font color="#008000">BOOLEAN</font></a> <-
<br><em><strong><font color="#707070">        Return true if `self' is in range [`lower'..`upper']</font></strong></em>
<br><br><strong><font color="#FF0000">    -</font></strong> <strong><font color="#0000FF">compare</font></strong> other:<font color="#008000">SELF</font> :<a href="INTEGER.html"><font color="#008000">INTEGER</font></a> <-
<br><em><strong><font color="#707070">        If current object equal to `other', 0;</font></strong></em>
<br><em><strong><font color="#707070">        if smaller, -1; if greater, 1.</font></strong></em>
<br><br><strong><font color="#FF0000">    -</font></strong> <strong><font color="#0000FF">min</font></strong> other:<font color="#008000">SELF</font> :<font color="#008000">SELF</font> <-
<br><em><strong><font color="#707070">        Minimum of `self' and `other'.</font></strong></em>
<br><br><strong><font color="#FF0000">    -</font></strong> <strong><font color="#0000FF">max</font></strong> other:<font color="#008000">SELF</font> :<font color="#008000">SELF</font> <-
<br><em><strong><font color="#707070">        Maximum of `self' and `other'.</font></strong></em>
</body>
</html>
|