Overview
A convenience class to represent name-value pairs.
Profile: common
Variable Summary
access | name | type | Can Read | Can Init | Can Write | Default Value | description |
---|---|---|---|---|---|---|---|
public-init | name | String |
Name of this |
||||
public-init | value | String |
Value of this this |
Inherited Variables
Function Summary
- public equals(objectToTest: java.lang.Object) : Boolean
-
Test this
Pair
for equality with anotherObject
.Test this
Pair
for equality with anotherObject
.If the
Object
to be tested is not aPair
or isnull
, then this method returnsfalse
.Two
Pair
s are considered equal if and only if both the names and values are equal.-
Parameters
- objectToTest
- the <code>Object</code> to test for equality with this <code>Pair</code>
-
Returns
- Boolean
- <code>true</code> if the given <code>Object</code> is equal to this <code>Pair</code> else <code>false</code>
- public hashCode() : Integer
- public toString() : java.lang.String