Package com.gigaspaces.utils
Class Pair<T,V>
java.lang.Object
com.gigaspaces.utils.Pair<T,V>
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable
- Since:
- 12.0.1
- Author:
- yael nahon
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFirst()inthashCode()voidreadExternal(ObjectInput objectInput) voidvoidtoString()voidwriteExternal(ObjectOutput objectOutput) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
Pair
public Pair() -
Pair
-
-
Method Details
-
getFirst
-
getSecond
-
setFirst
-
setSecond
-
toString
-
equals
-
hashCode
public int hashCode() -
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-