T1
- type of the first objectT2
- type of the second objectpublic interface IPair<T1,T2>
IFactory.newPair(Object, Object)
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Returns
true if both values of the pairs in this object and in the other one are equal. |
T1 |
getValue1()
Returns the first object.
|
T2 |
getValue2()
Returns the second object.
|
int |
hashCode()
Properly overrides
Object.hashCode() . |
T1 getValue1()
T2 getValue2()
boolean equals(java.lang.Object o)
true
if both values of the pairs in this object and in the other one are equal.
If a value is null
, then the value in the other pair must also be null
in order to be equal.
equals
in class java.lang.Object
int hashCode()
Object.hashCode()
.hashCode
in class java.lang.Object
This API documentation is public and is intended for / allowed to be used by anyone.
Scelight home page: https://sites.google.com/site/scelight/
Scelight is a trademark of András Belicza. Copyright © András Belicza, 2013-2015. All rights reserved.