Package net.sf.tweety.preferences
Class Quadruple<E,F,G,H>
- java.lang.Object
-
- net.sf.tweety.preferences.Quadruple<E,F,G,H>
-
- Type Parameters:
E
- the type of the first elementF
- the type of the second elementG
- the type of the third elementH
- the type of the fourth element
public class Quadruple<E,F,G,H> extends java.lang.Object
This class implements a simple quadruple of elements.- Author:
- Bastian Wolf
-
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
E
getObj1()
returns the first element of this quadrupleF
getObj2()
returns the second element of this quadrupleG
getObj3()
returns the third element of this quadrupleH
getObj4()
returns the fourth element of this quadrupleint
hashCode()
void
setObj1(E obj1)
sets the first element of this triplevoid
setObj2(F obj2)
sets the second element of this triplevoid
setObj3(G obj3)
sets the third element of this triplevoid
setObj4(H obj4)
sets the fourth element of this triple
-
-
-
Method Detail
-
getObj1
public E getObj1()
returns the first element of this quadruple- Returns:
- the first element of this quadruple
-
setObj1
public void setObj1(E obj1)
sets the first element of this triple- Parameters:
obj1
- an object of type E
-
getObj2
public F getObj2()
returns the second element of this quadruple- Returns:
- the second element of this quadruple
-
setObj2
public void setObj2(F obj2)
sets the second element of this triple- Parameters:
obj2
- an object of type E
-
getObj3
public G getObj3()
returns the third element of this quadruple- Returns:
- the third element of this quadruple
-
setObj3
public void setObj3(G obj3)
sets the third element of this triple- Parameters:
obj3
- an object of type F
-
getObj4
public H getObj4()
returns the fourth element of this quadruple- Returns:
- the fourth element of this quadruple
-
setObj4
public void setObj4(H obj4)
sets the fourth element of this triple- Parameters:
obj4
- an object of type H
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-