19.11.2014 Views

The Fortress Language Specification - CiteSeerX

The Fortress Language Specification - CiteSeerX

The Fortress Language Specification - CiteSeerX

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

25.1.34 check(self): Q throws CastException<br />

25.1.35 check ∗ (self): Q ∗ throws CastException<br />

25.1.36 check < (self): Q < throws CastException<br />

25.1.37 check ≤ (self): Q ≤ throws CastException<br />

25.1.38 check ≥ (self): Q ≥ throws CastException<br />

25.1.39 check > (self): Q > throws CastException<br />

25.1.40 check≠(self): Q≠ throws CastException<br />

25.1.41 check ∗ (self): Q ∗ > throws CastException<br />

25.1.45 check ∗<br />

≠(self): Q ∗<br />

≠<br />

throws CastException<br />

25.1.46 check # (self): Q # > throws CastException<br />

25.1.50 check #<br />

≠<br />

(self): Q#<br />

≠<br />

throws CastException<br />

Each of these methods checks this rational number to see whether it belongs to the result type of the method. If, the<br />

number is returned; if not, a CastException is thrown.<br />

200

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!