aData
- datatype of abData
- datatype of bpublic class MyPair<aData,bData> extends Object
Modifier and Type | Field and Description |
---|---|
aData |
a
the aData value
|
bData |
b
the bData value
|
public String toString()
toString
in class Object
Object.toString()
public boolean equals(Object arg0)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public aData getA()
public void setA(aData a)
a
- public bData getB()
public void setB(bData b)
b
- Copyright © 2018. All rights reserved.