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.ObjectThis class implements a simple quadruple of elements.- Author:
 - Bastian Wolf
 
 
- 
- 
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)EgetObj1()returns the first element of this quadrupleFgetObj2()returns the second element of this quadrupleGgetObj3()returns the third element of this quadrupleHgetObj4()returns the fourth element of this quadrupleinthashCode()voidsetObj1(E obj1)sets the first element of this triplevoidsetObj2(F obj2)sets the second element of this triplevoidsetObj3(G obj3)sets the third element of this triplevoidsetObj4(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:
 hashCodein classjava.lang.Object
 
- 
equals
public boolean equals(java.lang.Object obj)
- Overrides:
 equalsin classjava.lang.Object
 
 - 
 
 -