org.openfast.template
Class TwinValue
java.lang.Object
org.openfast.ScalarValue
org.openfast.template.TwinValue
- All Implemented Interfaces:
- java.io.Serializable, FieldValue
public class TwinValue
- extends ScalarValue
- See Also:
- Serialized Form
|
Method Summary |
boolean |
equals(java.lang.Object obj)
Checks to see if the object passed to it is a TwinValue object |
int |
hashCode()
|
java.lang.String |
toString()
Converts the ScalarValues first and second to strings |
| Methods inherited from class org.openfast.ScalarValue |
copy, equalsValue, getBytes, isNull, isUndefined, toBigDecimal, toByte, toDouble, toInt, toLong, toShort |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
first
public final ScalarValue first
second
public final ScalarValue second
TwinValue
public TwinValue(ScalarValue first,
ScalarValue second)
- TwinValue Constructor - takes two ScalarValues
- Parameters:
first - ScalarValuesecond - ScalarValue
equals
public boolean equals(java.lang.Object obj)
- Checks to see if the object passed to it is a TwinValue object
- Overrides:
equals in class java.lang.Object
- Parameters:
obj - The object to be checked if it is a TwinValue object
- Returns:
- If the passed object is a TwinValue object, returns true, false
otherwise
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Converts the ScalarValues first and second to strings
- Overrides:
toString in class ScalarValue
- Returns:
- string in the form (first ScalarValue, second ScalarValue)
Copyright © 2006-2008 The LaSalle Technology Group, LLC. All Rights Reserved.