274 lines
10 KiB
HTML
274 lines
10 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||
|
<!-- NewPage -->
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<!-- Generated by javadoc (version 1.7.0_25) on Fri Sep 20 13:54:02 EEST 2013 -->
|
||
|
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
|
||
|
<title>Index</title>
|
||
|
<meta name="date" content="2013-09-20">
|
||
|
<link rel="stylesheet" type="text/css" href="./stylesheet.css" title="Style">
|
||
|
</head>
|
||
|
<body>
|
||
|
<script type="text/javascript"><!--
|
||
|
if (location.href.indexOf('is-external=true') == -1) {
|
||
|
parent.document.title="Index";
|
||
|
}
|
||
|
//-->
|
||
|
</script>
|
||
|
<noscript>
|
||
|
<div>JavaScript is disabled on your browser.</div>
|
||
|
</noscript>
|
||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||
|
<div class="topNav"><a name="navbar_top">
|
||
|
<!-- -->
|
||
|
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="navList" title="Navigation">
|
||
|
<li><a href="./package-summary.html">Package</a></li>
|
||
|
<li>Class</li>
|
||
|
<li><a href="./overview-tree.html">Tree</a></li>
|
||
|
<li><a href="./deprecated-list.html">Deprecated</a></li>
|
||
|
<li class="navBarCell1Rev">Index</li>
|
||
|
<li><a href="./help-doc.html">Help</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="subNav">
|
||
|
<ul class="navList">
|
||
|
<li>Prev</li>
|
||
|
<li>Next</li>
|
||
|
</ul>
|
||
|
<ul class="navList">
|
||
|
<li><a href="./index.html?index-all.html" target="_top">Frames</a></li>
|
||
|
<li><a href="index-all.html" target="_top">No Frames</a></li>
|
||
|
</ul>
|
||
|
<ul class="navList" id="allclasses_navbar_top">
|
||
|
<li><a href="./allclasses-noframe.html">All Classes</a></li>
|
||
|
</ul>
|
||
|
<div>
|
||
|
<script type="text/javascript"><!--
|
||
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||
|
if(window==top) {
|
||
|
allClassesLink.style.display = "block";
|
||
|
}
|
||
|
else {
|
||
|
allClassesLink.style.display = "none";
|
||
|
}
|
||
|
//-->
|
||
|
</script>
|
||
|
</div>
|
||
|
<a name="skip-navbar_top">
|
||
|
<!-- -->
|
||
|
</a></div>
|
||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||
|
<div class="contentContainer"><a href="#_C_">C</a> <a href="#_D_">D</a> <a href="#_E_">E</a> <a href="#_F_">F</a> <a href="#_G_">G</a> <a href="#_H_">H</a> <a href="#_I_">I</a> <a href="#_L_">L</a> <a href="#_M_">M</a> <a href="#_O_">O</a> <a href="#_P_">P</a> <a href="#_T_">T</a> <a href="#_V_">V</a> <a name="_C_">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">C</h2>
|
||
|
<dl>
|
||
|
<dt><span class="strong"><a href="./Lfraction.html#clone()">clone()</a></span> - Method in class <a href="./Lfraction.html" title="class in <Unnamed>">Lfraction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Clone of the fraction.</div>
|
||
|
</dd>
|
||
|
<dt><span class="strong"><a href="./Lfraction.html#compareTo(Lfraction)">compareTo(Lfraction)</a></span> - Method in class <a href="./Lfraction.html" title="class in <Unnamed>">Lfraction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Comparision of fractions.</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="_D_">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">D</h2>
|
||
|
<dl>
|
||
|
<dt><span class="strong"><a href="./Lfraction.html#divideBy(Lfraction)">divideBy(Lfraction)</a></span> - Method in class <a href="./Lfraction.html" title="class in <Unnamed>">Lfraction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Quotient of fractions.</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="_E_">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">E</h2>
|
||
|
<dl>
|
||
|
<dt><span class="strong"><a href="./Lfraction.html#equals(java.lang.Object)">equals(Object)</a></span> - Method in class <a href="./Lfraction.html" title="class in <Unnamed>">Lfraction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Equality test.</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="_F_">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">F</h2>
|
||
|
<dl>
|
||
|
<dt><span class="strong"><a href="./Lfraction.html#fractionPart()">fractionPart()</a></span> - Method in class <a href="./Lfraction.html" title="class in <Unnamed>">Lfraction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Extract fraction part of the (improper) fraction
|
||
|
(a proper fraction without the integer part).</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="_G_">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">G</h2>
|
||
|
<dl>
|
||
|
<dt><span class="strong"><a href="./Lfraction.html#getDenominator()">getDenominator()</a></span> - Method in class <a href="./Lfraction.html" title="class in <Unnamed>">Lfraction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Public method to access the denominator field.</div>
|
||
|
</dd>
|
||
|
<dt><span class="strong"><a href="./Lfraction.html#getNumerator()">getNumerator()</a></span> - Method in class <a href="./Lfraction.html" title="class in <Unnamed>">Lfraction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Public method to access the numerator field.</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="_H_">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">H</h2>
|
||
|
<dl>
|
||
|
<dt><span class="strong"><a href="./Lfraction.html#hashCode()">hashCode()</a></span> - Method in class <a href="./Lfraction.html" title="class in <Unnamed>">Lfraction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Hashcode has to be equal for equal fractions.</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="_I_">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">I</h2>
|
||
|
<dl>
|
||
|
<dt><span class="strong"><a href="./Lfraction.html#integerPart()">integerPart()</a></span> - Method in class <a href="./Lfraction.html" title="class in <Unnamed>">Lfraction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Integer part of the (improper) fraction.</div>
|
||
|
</dd>
|
||
|
<dt><span class="strong"><a href="./Lfraction.html#inverse()">inverse()</a></span> - Method in class <a href="./Lfraction.html" title="class in <Unnamed>">Lfraction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Inverse of the fraction.</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="_L_">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">L</h2>
|
||
|
<dl>
|
||
|
<dt><a href="./Lfraction.html" title="class in <Unnamed>"><span class="strong">Lfraction</span></a> - Class in <a href="./package-summary.html"><Unnamed></a></dt>
|
||
|
<dd>
|
||
|
<div class="block">This class presents fractions of form n/d where n and d are long integer
|
||
|
numbers.</div>
|
||
|
</dd>
|
||
|
<dt><span class="strong"><a href="./Lfraction.html#Lfraction(long, long)">Lfraction(long, long)</a></span> - Constructor for class <a href="./Lfraction.html" title="class in <Unnamed>">Lfraction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Constructor.</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="_M_">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">M</h2>
|
||
|
<dl>
|
||
|
<dt><span class="strong"><a href="./Lfraction.html#main(java.lang.String[])">main(String[])</a></span> - Static method in class <a href="./Lfraction.html" title="class in <Unnamed>">Lfraction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Main method.</div>
|
||
|
</dd>
|
||
|
<dt><span class="strong"><a href="./Lfraction.html#minus(Lfraction)">minus(Lfraction)</a></span> - Method in class <a href="./Lfraction.html" title="class in <Unnamed>">Lfraction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Difference of fractions.</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="_O_">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">O</h2>
|
||
|
<dl>
|
||
|
<dt><span class="strong"><a href="./Lfraction.html#opposite()">opposite()</a></span> - Method in class <a href="./Lfraction.html" title="class in <Unnamed>">Lfraction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Opposite of the fraction.</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="_P_">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">P</h2>
|
||
|
<dl>
|
||
|
<dt><span class="strong"><a href="./Lfraction.html#plus(Lfraction)">plus(Lfraction)</a></span> - Method in class <a href="./Lfraction.html" title="class in <Unnamed>">Lfraction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Sum of fractions.</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="_T_">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">T</h2>
|
||
|
<dl>
|
||
|
<dt><span class="strong"><a href="./Lfraction.html#times(Lfraction)">times(Lfraction)</a></span> - Method in class <a href="./Lfraction.html" title="class in <Unnamed>">Lfraction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Multiplication of fractions.</div>
|
||
|
</dd>
|
||
|
<dt><span class="strong"><a href="./Lfraction.html#toDouble()">toDouble()</a></span> - Method in class <a href="./Lfraction.html" title="class in <Unnamed>">Lfraction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Approximate value of the fraction.</div>
|
||
|
</dd>
|
||
|
<dt><span class="strong"><a href="./Lfraction.html#toLfraction(double, long)">toLfraction(double, long)</a></span> - Static method in class <a href="./Lfraction.html" title="class in <Unnamed>">Lfraction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Double value f presented as a fraction with denominator d > 0.</div>
|
||
|
</dd>
|
||
|
<dt><span class="strong"><a href="./Lfraction.html#toString()">toString()</a></span> - Method in class <a href="./Lfraction.html" title="class in <Unnamed>">Lfraction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Conversion to string.</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="_V_">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">V</h2>
|
||
|
<dl>
|
||
|
<dt><span class="strong"><a href="./Lfraction.html#valueOf(java.lang.String)">valueOf(String)</a></span> - Static method in class <a href="./Lfraction.html" title="class in <Unnamed>">Lfraction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Conversion from string to the fraction.</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a href="#_C_">C</a> <a href="#_D_">D</a> <a href="#_E_">E</a> <a href="#_F_">F</a> <a href="#_G_">G</a> <a href="#_H_">H</a> <a href="#_I_">I</a> <a href="#_L_">L</a> <a href="#_M_">M</a> <a href="#_O_">O</a> <a href="#_P_">P</a> <a href="#_T_">T</a> <a href="#_V_">V</a> </div>
|
||
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||
|
<div class="bottomNav"><a name="navbar_bottom">
|
||
|
<!-- -->
|
||
|
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="navList" title="Navigation">
|
||
|
<li><a href="./package-summary.html">Package</a></li>
|
||
|
<li>Class</li>
|
||
|
<li><a href="./overview-tree.html">Tree</a></li>
|
||
|
<li><a href="./deprecated-list.html">Deprecated</a></li>
|
||
|
<li class="navBarCell1Rev">Index</li>
|
||
|
<li><a href="./help-doc.html">Help</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="subNav">
|
||
|
<ul class="navList">
|
||
|
<li>Prev</li>
|
||
|
<li>Next</li>
|
||
|
</ul>
|
||
|
<ul class="navList">
|
||
|
<li><a href="./index.html?index-all.html" target="_top">Frames</a></li>
|
||
|
<li><a href="index-all.html" target="_top">No Frames</a></li>
|
||
|
</ul>
|
||
|
<ul class="navList" id="allclasses_navbar_bottom">
|
||
|
<li><a href="./allclasses-noframe.html">All Classes</a></li>
|
||
|
</ul>
|
||
|
<div>
|
||
|
<script type="text/javascript"><!--
|
||
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||
|
if(window==top) {
|
||
|
allClassesLink.style.display = "block";
|
||
|
}
|
||
|
else {
|
||
|
allClassesLink.style.display = "none";
|
||
|
}
|
||
|
//-->
|
||
|
</script>
|
||
|
</div>
|
||
|
<a name="skip-navbar_bottom">
|
||
|
<!-- -->
|
||
|
</a></div>
|
||
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||
|
</body>
|
||
|
</html>
|