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

Quick Search    Search Deep

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

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

public class DoubleMatrixResult
extends joelib.data.JOEPairData
implements java.lang.Cloneable, joelib.desc.DescResult, joelib.io.types.cml.ResultCMLProperties, joelib.desc.NumberFormatDescResult, java.io.Serializable

Double matrix results of variable size.


Field Summary
private static java.lang.String basicFormat
           
private  java.util.Hashtable cmlProperties
           
private static java.lang.String lineFormat
           
private static org.apache.log4j.Category logger
          Obtain a suitable logger.
 double[][] value
          Description of the Field
 
Fields inherited from class joelib.data.JOEPairData
_value
 
Fields inherited from class joelib.data.JOEGenericData
dataType
 
Constructor Summary
DoubleMatrixResult()
          Constructor for the IntMatrixResult object
 
Method Summary
 void addCMLProperty(joelib.util.types.StringString property)
           
 java.lang.Object clone()
          This method may be called to create a new copy of the Object.
 DoubleMatrixResult clone(DoubleMatrixResult _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
 java.util.Enumeration getCMLProperties()
           
 boolean init(java.lang.String _descName)
          Constructor for the IntMatrixResult object
 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)
           
 
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

logger

private static org.apache.log4j.Category logger
Obtain a suitable logger.


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

value

public double[][] value
Description of the Field


cmlProperties

private java.util.Hashtable cmlProperties
Constructor Detail

DoubleMatrixResult

public DoubleMatrixResult()
Constructor for the IntMatrixResult object

Method Detail

getCMLProperties

public java.util.Enumeration getCMLProperties()
Specified by:
getCMLProperties in interface joelib.io.types.cml.ResultCMLProperties

addCMLProperty

public void addCMLProperty(joelib.util.types.StringString property)
Specified by:
addCMLProperty in interface joelib.io.types.cml.ResultCMLProperties

clone

public DoubleMatrixResult clone(DoubleMatrixResult _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)
Constructor for the IntMatrixResult object

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)
Specified by:
toString in interface joelib.desc.NumberFormatDescResult