net.sf.jdmf.data.input.attribute
Class AttributeValuePair
java.lang.Object
net.sf.jdmf.data.input.attribute.AttributeValuePair
- All Implemented Interfaces:
- java.lang.Comparable<AttributeValuePair>
public class AttributeValuePair
- extends java.lang.Object
- implements java.lang.Comparable<AttributeValuePair>
Represents a pair of two attribute values.
- Author:
- quorthon
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AttributeValuePair
public AttributeValuePair()
AttributeValuePair
public AttributeValuePair(java.lang.Comparable firstValue,
java.lang.Comparable secondValue)
compareTo
public int compareTo(AttributeValuePair valuePair)
- Specified by:
compareTo
in interface java.lang.Comparable<AttributeValuePair>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getFirstValue
public java.lang.Comparable getFirstValue()
setFirstValue
public void setFirstValue(java.lang.Comparable firstValue)
getSecondValue
public java.lang.Comparable getSecondValue()
setSecondValue
public void setSecondValue(java.lang.Comparable secondValue)