public class DataModelKey extends java.lang.Object
Constructor and Description |
---|
DataModelKey(java.lang.String alignmentID)
Creates a new instance of this class with no sequence ID.
|
DataModelKey(java.lang.String alignmentID,
java.lang.String sequenceID)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAlignmentID() |
java.lang.String |
getSequenceID() |
int |
hashCode() |
public DataModelKey(java.lang.String alignmentID, java.lang.String sequenceID)
alignmentID
- the ID of the alignment model the read data is associated with (Can be
null
.)sequenceID
- the ID of the sequence in the alignment model the read data is associated with
(Can be null
.)java.lang.IllegalArgumentException
- if null
was specified as the alignment model ID, but
still a sequence ID (which is not null
) was specified.public DataModelKey(java.lang.String alignmentID)
alignmentModel
- the alignment model ID the read data is associated with (Can be null
.)java.lang.IllegalArgumentException
- if null
was specified as the alignment model ID, but still
a sequence ID (which is not null
) was specified.public java.lang.String getAlignmentID()
public java.lang.String getSequenceID()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object