⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 season.html

📁 This project does not contain a full, runnable application program. Instead, the only package ope.fo
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TR BGCOLOR="white" CLASS="TableRowColor">

<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>

</TR>

</TABLE>

&nbsp;

<P>



<!-- ========= CONSTRUCTOR DETAIL ======== -->



<A NAME="constructor_detail"><!-- --></A>

<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">

<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">

<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">

<B>Constructor Detail</B></FONT></TH>

</TR>

</TABLE>



<A NAME="Season()"><!-- --></A><H3>

Season</H3>

<PRE>

public <B>Season</B>()</PRE>

<DL>

<DD>Creates a new season with no matches played yet.

<P>

</DL>



<!-- ============ METHOD DETAIL ========== -->



<A NAME="method_detail"><!-- --></A>

<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">

<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">

<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">

<B>Method Detail</B></FONT></TH>

</TR>

</TABLE>



<A NAME="addResult(ope.football.Match)"><!-- --></A><H3>

addResult</H3>

<PRE>

public void <B>addResult</B>(<A HREF="../../ope/football/Match.html" title="class in ope.football">Match</A>&nbsp;newResult)</PRE>

<DL>

<DD>Adds a new match result to the season. The match is assumed 
 to have finished, so no further goals will be added to it later.

<P>

<DD><DL>

<DT><B>Parameters:</B><DD><CODE>newResult</CODE> - a finished match that was played as part of this football season</DL>

</DD>

</DL>

<HR>



<A NAME="getNumberOfMatches()"><!-- --></A><H3>

getNumberOfMatches</H3>

<PRE>

public int <B>getNumberOfMatches</B>()</PRE>

<DL>

<DD>Returns the number of matches played in the season so far.

<P>

<DD><DL>



<DT><B>Returns:</B><DD>match count</DL>

</DD>

</DL>

<HR>



<A NAME="getMatch(int)"><!-- --></A><H3>

getMatch</H3>

<PRE>

public <A HREF="../../ope/football/Match.html" title="class in ope.football">Match</A> <B>getMatch</B>(int&nbsp;matchNumber)</PRE>

<DL>

<DD>Returns a match played in this season. The match is identified
 by the given match number parameter

<P>

<DD><DL>

<DT><B>Parameters:</B><DD><CODE>matchNumber</CODE> - a number indicating which match to return: 0 means 
                    the first match of the season, 1 the seconds, 2 the third,
                    and so on

<DT><B>Returns:</B><DD>the indicated match</DL>

</DD>

</DL>

<HR>



<A NAME="getLatestMatch()"><!-- --></A><H3>

getLatestMatch</H3>

<PRE>

public <A HREF="../../ope/football/Match.html" title="class in ope.football">Match</A> <B>getLatestMatch</B>()</PRE>

<DL>

<DD>Returns the match most recently added to this season.

<P>

<DD><DL>



<DT><B>Returns:</B><DD>most recent match</DL>

</DD>

</DL>

<HR>



<A NAME="getBiggestWin()"><!-- --></A><H3>

getBiggestWin</H3>

<PRE>

public <A HREF="../../ope/football/Match.html" title="class in ope.football">Match</A> <B>getBiggestWin</B>()</PRE>

<DL>

<DD>Returns the match whose win margin was higher than that of any other
 match in the season. If there is a tie for the biggest win margin,
 returns the match that was added to the season first.

<P>

<DD><DL>



<DT><B>Returns:</B><DD>match with biggest win margin, or <CODE>null</CODE> if there 
         are no played matches in the season yet</DL>

</DD>

</DL>

<HR>



<A NAME="getHighestScoringMatch()"><!-- --></A><H3>

getHighestScoringMatch</H3>

<PRE>

public <A HREF="../../ope/football/Match.html" title="class in ope.football">Match</A> <B>getHighestScoringMatch</B>()</PRE>

<DL>

<DD>Returns the match whose total goal count was higher than that of any 
 other match in the season. If there is a tie for the biggest number
 of goals, returns the match that was added to the season first.

<P>

<DD><DL>



<DT><B>Returns:</B><DD>match with biggest goal count, or <CODE>null</CODE> if there 
         are no played matches in the season yet</DL>

</DD>

</DL>

<!-- ========= END OF CLASS DATA ========= -->

<HR>





<!-- ======= START OF BOTTOM NAVBAR ====== -->

<A NAME="navbar_bottom"><!-- --></A>

<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>

<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">

<TR>

<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">

<A NAME="navbar_bottom_firstrow"><!-- --></A>

<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">

  <TR ALIGN="center" VALIGN="top">

  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../ope/football/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>

  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>

  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>

  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>

  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>

  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>

  </TR>

</TABLE>

</TD>

<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>

</EM>

</TD>

</TR>



<TR>

<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">

&nbsp;<A HREF="../../ope/football/Player.html" title="class in ope.football"><B>PREV CLASS</B></A>&nbsp;

&nbsp;NEXT CLASS</FONT></TD>

<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">

  <A HREF="../../index.html?ope/football/Season.html" target="_top"><B>FRAMES</B></A>  &nbsp;

&nbsp;<A HREF="Season.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;

&nbsp;<SCRIPT type="text/javascript">

  <!--

  if(window==top) {

    document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');

  }

  //-->

</SCRIPT>

<NOSCRIPT>

  <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>

</NOSCRIPT>





</FONT></TD>

</TR>

<TR>

<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">

  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>

<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">

DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>

</TR>

</TABLE>

<A NAME="skip-navbar_bottom"></A>

<!-- ======== END OF BOTTOM NAVBAR ======= -->



<HR>



</BODY>

</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -