genopt.db
Class IOSettings
java.lang.Object
genopt.db.IOSettings
public class IOSettings
- extends java.lang.Object
Object for the settings of the
io operations.
This project was carried out at:
and supported by
GenOpt Copyright (c) 1998-2011, The Regents of the University of
California, through Lawrence Berkeley National Laboratory (subject
to receipt of any required approvals from the U.S. Dept. of Energy).
All rights reserved.
- Version:
- GenOpt(R) 3.1.0 (December 8, 2011)
- Author:
- Michael Wetter
|
Field Summary |
protected int |
numFor
the number format |
|
Constructor Summary |
IOSettings(java.lang.String numberFormat)
|
|
Method Summary |
java.lang.String |
toString(double x)
converts the number to the format specified by numberFormat |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numFor
protected int numFor
- the number format
IOSettings
public IOSettings(java.lang.String numberFormat)
- Parameters:
numberFormat - the number format that will be used to write
output files
toString
public final java.lang.String toString(double x)
- converts the number to the format specified by
numberFormat
- Returns:
- the number in the specified format