|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openscience.nmrshiftdb.util.ValueTriple
public class ValueTriple
This is a class containing two double and an array of integer values, altogether representing a signal
| Field Summary | |
|---|---|
java.util.Vector |
atoms
Atoms assigned to |
float |
comparatorValue
This is used for sorting signals according to distance to this value via ValueTripleComparator. |
int |
multiplicity
The multplicity of this signal. |
java.lang.String |
multiplicityString
|
int |
sortPosition
This gives the value of the |
float |
value1
Shift |
float |
value2
Intensity, 0=not defined |
| Constructor Summary | |
|---|---|
ValueTriple()
Constructor for the ValueTriple object |
|
ValueTriple(float d)
Constructor for the ValueTriple object |
|
ValueTriple(float d,
float d2)
Constructor for the ValueTriple object |
|
| Method Summary | |
|---|---|
java.lang.String |
getMultiplicity()
Returns the multiplicity as letter (0 Hs=S, 1H=D ...). |
int |
getSortPosition()
Gets the sortPosition attribute of the ValueTriple object |
java.lang.String |
getValue1()
Gets the value1 attribute of the ValueTriple object as a string (needed for velocity, which can't access attributes, only methods) |
java.lang.String |
getValue2()
Gets the value2 attribute of the ValueTriple object as a string (needed for velocity, which can't access attributes, only methods) |
boolean |
isAssignedToAtom(org.openscience.cdk.Atom atom)
Convinience method which tells if a signal is assigned to a certain atom |
java.lang.String |
toString()
Returns a string representation of the valueTriple |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public float value1
public float value2
public java.util.Vector atoms
public float comparatorValue
public int sortPosition
public int multiplicity
public java.lang.String multiplicityString
| Constructor Detail |
|---|
public ValueTriple(float d)
d - The shift value
public ValueTriple(float d,
float d2)
d - The shift valued2 - The intensitypublic ValueTriple()
| Method Detail |
|---|
public int getSortPosition()
public java.lang.String getValue1()
public java.lang.String getValue2()
public boolean isAssignedToAtom(org.openscience.cdk.Atom atom)
atom - The number of the atom (in cdk...molecule or mol file)
public java.lang.String getMultiplicity()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||