|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectnet.argius.stu.io.NullPrinter
何もしない「プリンタ」です。
常に何もしません。
(Printer
のNullObject
です。)
コンストラクタの概要 | |
NullPrinter()
|
メソッドの概要 | |
void |
close()
出力先を閉じます。 |
void |
print(String message)
文字列を出力します。 |
void |
println(String message)
文字列を1行出力します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public NullPrinter()
メソッドの詳細 |
public void print(String message)
Printer
内の print
message
- メッセージpublic void println(String message)
Printer
内の println
message
- メッセージpublic void close()
Printer
内の close
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |