Class HLine

java.lang.Object
  extended by HLine

public class HLine
extends Object

This class describes horizontal line objects that can be displayed using asterisks and new lines


Constructor Summary
HLine(int aSize)
          Constructs a horizontal line.
 
Method Summary
 String toString()
          Computes a string representing the horizontal line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HLine

public HLine(int aSize)
Constructs a horizontal line.

Parameters:
aSize - the number of * in the line.
Method Detail

toString

public String toString()
Computes a string representing the horizontal line.

Overrides:
toString in class Object
Returns:
a string consisting of * characters and a newline character