📄 easywriter.html
字号:
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="EasyWriter()"><!-- --></A><H3>EasyWriter</H3><PRE>public <B>EasyWriter</B>()</PRE><DL><DD>Create a new EasyWriter that writes to standard output</DL><HR><A NAME="EasyWriter(java.lang.String)"><!-- --></A><H3>EasyWriter</H3><PRE>public <B>EasyWriter</B>(java.lang.String s)</PRE><DL><DD>Create a new EasyWriter that writes to a text file<DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - the name of the text file</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="prompt(java.lang.String)"><!-- --></A><H3>prompt</H3><PRE>public void <B>prompt</B>(java.lang.String p)</PRE><DL></DL><HR><A NAME="println(int, int)"><!-- --></A><H3>println</H3><PRE>public void <B>println</B>(int x, int n)</PRE><DL><DD>Println an int within a specified field width<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the number to println<DD><CODE>n</CODE> - the field width</DL></DD></DL><HR><A NAME="print(int, int)"><!-- --></A><H3>print</H3><PRE>public void <B>print</B>(int x, int n)</PRE><DL><DD>Print an int within a specified field width<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the number to print<DD><CODE>n</CODE> - the field width</DL></DD></DL><HR><A NAME="println(long, int)"><!-- --></A><H3>println</H3><PRE>public void <B>println</B>(long x, int n)</PRE><DL><DD>Println a long within a specified field width<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the number to println<DD><CODE>n</CODE> - the field width</DL></DD></DL><HR><A NAME="print(long, int)"><!-- --></A><H3>print</H3><PRE>public void <B>print</B>(long x, int n)</PRE><DL><DD>Print a long within a specified field width<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the number to print<DD><CODE>n</CODE> - the field width</DL></DD></DL><HR><A NAME="println(short, int)"><!-- --></A><H3>println</H3><PRE>public void <B>println</B>(short x, int n)</PRE><DL><DD>Println a short within a specified field width<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the number to println<DD><CODE>n</CODE> - the field width</DL></DD></DL><HR><A NAME="print(short, int)"><!-- --></A><H3>print</H3><PRE>public void <B>print</B>(short x, int n)</PRE><DL><DD>Print a short within a specified field width<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the number to print<DD><CODE>n</CODE> - the field width</DL></DD></DL><HR><A NAME="print(double, int)"><!-- --></A><H3>print</H3><PRE>public void <B>print</B>(double x, int n)</PRE><DL><DD>Print a double with a specified precision<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the number to print<DD><CODE>n</CODE> - the number of decimal places</DL></DD></DL><HR><A NAME="println(double, int)"><!-- --></A><H3>println</H3><PRE>public void <B>println</B>(double x, int n)</PRE><DL><DD>Println a double with a specified precision<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the number to println<DD><CODE>n</CODE> - the number of decimal places</DL></DD></DL><HR><A NAME="print(double, int, int)"><!-- --></A><H3>print</H3><PRE>public void <B>print</B>(double x, int n, int w)</PRE><DL><DD>Print a double with a specified precision and field width<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the number to print<DD><CODE>n</CODE> - the number of decimal places<DD><CODE>w</CODE> - the field width</DL></DD></DL><HR><A NAME="println(double, int, int)"><!-- --></A><H3>println</H3><PRE>public void <B>println</B>(double x, int n, int w)</PRE><DL><DD>Println a double with a specified precision and field width<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the number to println<DD><CODE>n</CODE> - the number of decimal places<DD><CODE>w</CODE> - the field width</DL></DD></DL><HR><A NAME="print(float, int)"><!-- --></A><H3>print</H3><PRE>public void <B>print</B>(float x, int n)</PRE><DL><DD>Print a float with a specified precision<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the number to print<DD><CODE>n</CODE> - the number of decimal places</DL></DD></DL><HR><A NAME="println(float, int)"><!-- --></A><H3>println</H3><PRE>public void <B>println</B>(float x, int n)</PRE><DL><DD>Println a float with a specified precision<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the number to println<DD><CODE>n</CODE> - the number of decimal places</DL></DD></DL><HR><A NAME="print(float, int, int)"><!-- --></A><H3>print</H3><PRE>public void <B>print</B>(float x, int n, int w)</PRE><DL><DD>Print a float with a specified precision and field width<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the number to print<DD><CODE>n</CODE> - the number of decimal places<DD><CODE>w</CODE> - the field width</DL></DD></DL><HR><A NAME="println(float, int, int)"><!-- --></A><H3>println</H3><PRE>public void <B>println</B>(float x, int n, int w)</PRE><DL><DD>Println a float with a specified precision and field width<DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the number to println<DD><CODE>n</CODE> - the number of decimal places<DD><CODE>w</CODE> - the field width</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../sheffield/EasyReader.html"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="EasyWriter.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#fields_inherited_from_class_java.io.PrintWriter">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -