Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

joelib.desc.result
Class APropDoubleArrResult  view APropDoubleArrResult download APropDoubleArrResult.java

java.lang.Object
  extended byjoelib.data.JOEGenericData
      extended byjoelib.data.JOEPairData
          extended byjoelib.desc.result.APropDoubleArrResult
All Implemented Interfaces:
java.lang.Cloneable, joelib.desc.DescResult, joelib.desc.NumberFormatDescResult, java.io.Serializable

public class APropDoubleArrResult
extends joelib.data.JOEPairData
implements java.lang.Cloneable, joelib.desc.DescResult, joelib.desc.NumberFormatDescResult, java.io.Serializable

Atom representation.


Field Summary
 java.lang.String atomProperty
          Description of the Field
private static java.lang.String basicFormat
           
private static java.lang.String lineFormat
           
 double[] value
          Description of the Field
 
Fields inherited from class joelib.data.JOEPairData
_value
 
Fields inherited from class joelib.data.JOEGenericData
dataType
 
Constructor Summary
APropDoubleArrResult()
          Constructor for the BFSResult object
 
Method Summary
 java.lang.Object clone()
          This method may be called to create a new copy of the Object.
 APropDoubleArrResult clone(APropDoubleArrResult _target)
           
 java.lang.String formatDescription(joelib.io.IOType ioType)
          Description of the Method
 boolean fromPairData(joelib.io.IOType ioType, joelib.data.JOEPairData pairData)
          Description of the Method
 boolean fromString(joelib.io.IOType ioType, java.lang.String sValue)
          Description of the Method
 double getDoubleValue(int atomIdx)
           
 int getIntValue(int atomIdx)
           
 java.lang.String getStringValue(int atomIdx)
           
 java.lang.Object getValue(int atomIdx)
           
 boolean init(java.lang.String _descName)
          Description of the Method
 void setDoubleValue(int atomIdx, double _value)
           
 void setIntValue(int atomIdx, int _value)
           
 void setStringValue(int atomIdx, java.lang.String _value)
           
 void setValue(int atomIdx, java.lang.Object _value)
           
 java.lang.String toString(joelib.io.IOType ioType)
          Description of the Method
 java.lang.String toString(joelib.io.IOType ioType, wsi.ra.text.DecimalFormatter format)
          Description of the Method
 boolean writeSingleResults(joelib.molecule.JOEMol _mol, java.lang.String _descName)
          Write APropDoubleResult entries for every array index entry.
 boolean writeSingleResults(joelib.molecule.JOEMol _mol, java.lang.String _descName, boolean _writeAPropName, boolean _useAPropDouble, java.io.PrintStream _names, java.util.Hashtable _exist, boolean _overwrite)
          Description of the Method
 boolean writeSingleResults(joelib.molecule.JOEMol _mol, java.lang.String _descName, java.io.PrintStream _names, java.util.Hashtable _exist)
          Write APropDoubleResult entries for every array index entry.
 
Methods inherited from class joelib.data.JOEPairData
getValue, setValue, toString
 
Methods inherited from class joelib.data.JOEGenericData
equals, finalize, getAttribute, getDataType, setAttribute
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

basicFormat

private static final java.lang.String basicFormat
See Also:
Constant Field Values

lineFormat

private static final java.lang.String lineFormat
See Also:
Constant Field Values

atomProperty

public java.lang.String atomProperty
Description of the Field


value

public double[] value
Description of the Field

Constructor Detail

APropDoubleArrResult

public APropDoubleArrResult()
Constructor for the BFSResult object

Method Detail

setDoubleValue

public void setDoubleValue(int atomIdx,
                           double _value)

getDoubleValue

public double getDoubleValue(int atomIdx)

setIntValue

public void setIntValue(int atomIdx,
                        int _value)

getIntValue

public int getIntValue(int atomIdx)

setStringValue

public void setStringValue(int atomIdx,
                           java.lang.String _value)

getStringValue

public java.lang.String getStringValue(int atomIdx)

setValue

public void setValue(int atomIdx,
                     java.lang.Object _value)

getValue

public java.lang.Object getValue(int atomIdx)

clone

public APropDoubleArrResult clone(APropDoubleArrResult _target)

clone

public java.lang.Object clone()
Description copied from class: java.lang.Object
This method may be called to create a new copy of the Object. The typical behavior is as follows:
  • o == o.clone() is false
  • o.getClass() == o.clone().getClass() is true
  • o.equals(o) is true

However, these are not strict requirements, and may be violated if necessary. Of the three requirements, the last is the most commonly violated, particularly if the subclass does not override Object.equals(Object)>Object.equals(Object) 55 .

If the Object you call clone() on does not implement java.lang.Cloneable (which is a placeholder interface), then a CloneNotSupportedException is thrown. Notice that Object does not implement Cloneable; this method exists as a convenience for subclasses that do.

Object's implementation of clone allocates space for the new Object using the correct class, without calling any constructors, and then fills in all of the new field values with the old field values. Thus, it is a shallow copy. However, subclasses are permitted to make a deep copy.

All array types implement Cloneable, and override this method as follows (it should never fail):

 public Object clone()
 {
   try
     {
       super.clone();
     }
   catch (CloneNotSupportedException e)
     {
       throw new InternalError(e.getMessage());
     }
 }
 

Specified by:
clone in interface joelib.desc.DescResult

formatDescription

public java.lang.String formatDescription(joelib.io.IOType ioType)
Description of the Method

Specified by:
formatDescription in interface joelib.desc.DescResult

fromPairData

public boolean fromPairData(joelib.io.IOType ioType,
                            joelib.data.JOEPairData pairData)
Description of the Method

Specified by:
fromPairData in interface joelib.desc.DescResult

fromString

public boolean fromString(joelib.io.IOType ioType,
                          java.lang.String sValue)
Description of the Method

Specified by:
fromString in interface joelib.desc.DescResult

init

public boolean init(java.lang.String _descName)
Description of the Method

Specified by:
init in interface joelib.desc.DescResult

toString

public java.lang.String toString(joelib.io.IOType ioType)
Description of the Method

Specified by:
toString in interface joelib.desc.DescResult

toString

public java.lang.String toString(joelib.io.IOType ioType,
                                 wsi.ra.text.DecimalFormatter format)
Description of the Method

Specified by:
toString in interface joelib.desc.NumberFormatDescResult

writeSingleResults

public boolean writeSingleResults(joelib.molecule.JOEMol _mol,
                                  java.lang.String _descName)
Write APropDoubleResult entries for every array index entry.


writeSingleResults

public boolean writeSingleResults(joelib.molecule.JOEMol _mol,
                                  java.lang.String _descName,
                                  java.io.PrintStream _names,
                                  java.util.Hashtable _exist)
Write APropDoubleResult entries for every array index entry.


writeSingleResults

public boolean writeSingleResults(joelib.molecule.JOEMol _mol,
                                  java.lang.String _descName,
                                  boolean _writeAPropName,
                                  boolean _useAPropDouble,
                                  java.io.PrintStream _names,
                                  java.util.Hashtable _exist,
                                  boolean _overwrite)
Description of the Method