org.vizzini.math
Class VectorFormat
java.lang.Object
org.vizzini.math.VectorFormat
public class VectorFormat
- extends Object
Provides a formatter for Vector
s.
- Since:
- v0.3
- Version:
- v0.3
- Author:
- Jeffrey M. Thompson
- See Also:
Vector
Constructor Summary |
VectorFormat()
Construct this object. |
VectorFormat(int places)
Construct this object with the given parameters. |
Method Summary |
String |
format(Vector vector)
Return a formatted string version of the given Vector . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VectorFormat
public VectorFormat()
- Construct this object.
VectorFormat
public VectorFormat(int places)
- Construct this object with the given parameters.
- Parameters:
places
- Number of decimal places to show.
format
public String format(Vector vector)
- Return a formatted string version of the given
Vector
.
- Parameters:
vector
- Vector to format.- Since:
- v0.3
Copyright © 2007 Vizzini.org. All Rights Reserved.
|
2007.12.25.03.00.02 |