123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235 |
- <!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 (1.8.0_144) on Tue May 29 20:49:57 EDT 2018 -->
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>DepositAccount</title>
- <meta name="date" content="2018-05-29">
- <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
- <script type="text/javascript" src="script.js"></script>
- </head>
- <body>
- <script type="text/javascript"><!--
- try {
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="DepositAccount";
- }
- }
- catch(err) {
- }
- //-->
- var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
- var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
- var altColor = "altColor";
- var rowColor = "rowColor";
- var tableTab = "tableTab";
- var activeTableTab = "activeTableTab";
- </script>
- <noscript>
- <div>JavaScript is disabled on your browser.</div>
- </noscript>
- <!-- ======== START OF CLASS DATA ======== -->
- <div class="header">
- <h2 title="Class DepositAccount" class="title">Class DepositAccount</h2>
- </div>
- <div class="contentContainer">
- <ul class="inheritance">
- <li>java.lang.Object</li>
- <li>
- <ul class="inheritance">
- <li>DepositAccount</li>
- </ul>
- </li>
- </ul>
- <div class="description">
- <ul class="blockList">
- <li class="blockList">
- <hr>
- <br>
- <pre>class <span class="typeNameLabel">DepositAccount</span>
- extends java.lang.Object</pre>
- </li>
- </ul>
- </div>
- <div class="summary">
- <ul class="blockList">
- <li class="blockList">
- <!-- ======== CONSTRUCTOR SUMMARY ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor.summary">
- <!-- -->
- </a>
- <h3>Constructor Summary</h3>
- <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
- <caption><span>Constructors</span><span class="tabEnd"> </span></caption>
- <tr>
- <th class="colOne" scope="col">Constructor and Description</th>
- </tr>
- <tr class="altColor">
- <td class="colOne"><code><span class="memberNameLink"><a href="DepositAccount.html#DepositAccount-int-double-">DepositAccount</a></span>(int sum,
- double interest)</code> </td>
- </tr>
- </table>
- </li>
- </ul>
- <!-- ========== METHOD SUMMARY =========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method.summary">
- <!-- -->
- </a>
- <h3>Method Summary</h3>
- <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
- <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
- <tr>
- <th class="colFirst" scope="col">Modifier and Type</th>
- <th class="colLast" scope="col">Method and Description</th>
- </tr>
- <tr id="i0" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="DepositAccount.html#balance--">balance</a></span>()</code> </td>
- </tr>
- <tr id="i1" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="DepositAccount.html#deposit-int-">deposit</a></span>(int sum)</code> </td>
- </tr>
- <tr id="i2" class="altColor">
- <td class="colFirst"><code>Account</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="DepositAccount.html#open-int-">open</a></span>(int sum)</code> </td>
- </tr>
- <tr id="i3" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="DepositAccount.html#setInterest-double-">setInterest</a></span>(double newInterest)</code> </td>
- </tr>
- <tr id="i4" class="altColor">
- <td class="colFirst"><code>boolean</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="DepositAccount.html#transfer-Account-int-">transfer</a></span>(Account acc,
- int sum)</code> </td>
- </tr>
- <tr id="i5" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="DepositAccount.html#update--">update</a></span>()</code> </td>
- </tr>
- <tr id="i6" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="DepositAccount.html#withdraw-int-">withdraw</a></span>(int sum)</code> </td>
- </tr>
- </table>
- <ul class="blockList">
- <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
- <!-- -->
- </a>
- <h3>Methods inherited from class java.lang.Object</h3>
- <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- <div class="details">
- <ul class="blockList">
- <li class="blockList">
- <!-- ========= CONSTRUCTOR DETAIL ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor.detail">
- <!-- -->
- </a>
- <h3>Constructor Detail</h3>
- <a name="DepositAccount-int-double-">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>DepositAccount</h4>
- <pre>public DepositAccount(int sum,
- double interest)</pre>
- </li>
- </ul>
- </li>
- </ul>
- <!-- ============ METHOD DETAIL ========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method.detail">
- <!-- -->
- </a>
- <h3>Method Detail</h3>
- <a name="setInterest-double-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setInterest</h4>
- <pre>public void setInterest(double newInterest)</pre>
- </li>
- </ul>
- <a name="update--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>update</h4>
- <pre>public void update()</pre>
- </li>
- </ul>
- <a name="withdraw-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>withdraw</h4>
- <pre>public void withdraw(int sum)
- throws AccountException</pre>
- <dl>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>AccountException</code></dd>
- </dl>
- </li>
- </ul>
- <a name="balance--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>balance</h4>
- <pre>public int balance()</pre>
- </li>
- </ul>
- <a name="deposit-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>deposit</h4>
- <pre>public void deposit(int sum)</pre>
- </li>
- </ul>
- <a name="open-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>open</h4>
- <pre>public Account open(int sum)</pre>
- </li>
- </ul>
- <a name="transfer-Account-int-">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>transfer</h4>
- <pre>public boolean transfer(Account acc,
- int sum)</pre>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- <!-- ========= END OF CLASS DATA ========= -->
- </body>
- </html>
|