org.opensubsystems.core.util
Class FourIntStruct

java.lang.Object
  extended by org.opensubsystems.core.util.TwoIntStruct
      extended by org.opensubsystems.core.util.ThreeIntStruct
          extended by org.opensubsystems.core.util.FourIntStruct

public class FourIntStruct
extends ThreeIntStruct

Class which can hold four integers. This is useful if I want to create array of four integers to pass as argument to some function.

Version:
$Id: FourIntStruct.java,v 1.5 2007/01/07 06:14:00 bastafidli Exp $
Author:
Martin Cerba
Code reviewer:
Miro Halas
Code reviewed:
1.3 2005/07/29 07:36:24 bastafidli

Field Summary
protected  int m_iFourth
          Fourth integer
 
Fields inherited from class org.opensubsystems.core.util.ThreeIntStruct
m_iThird
 
Fields inherited from class org.opensubsystems.core.util.TwoIntStruct
m_iFirst, m_iSecond
 
Constructor Summary
FourIntStruct(int iFirst, int iSecond, int iThird, int iFourth)
           
 
Method Summary
 boolean equals(java.lang.Object oObject)
          
 int getFourth()
           
 int hashCode()
          
 
Methods inherited from class org.opensubsystems.core.util.ThreeIntStruct
getThird
 
Methods inherited from class org.opensubsystems.core.util.TwoIntStruct
getFirst, getSecond
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_iFourth

protected int m_iFourth
Fourth integer

Constructor Detail

FourIntStruct

public FourIntStruct(int iFirst,
                     int iSecond,
                     int iThird,
                     int iFourth)
Parameters:
iFirst - - first int
iSecond - - second int
iThird - - third int
iFourth - - fourth int
Method Detail

getFourth

public int getFourth()
Returns:
fourth integer

equals

public boolean equals(java.lang.Object oObject)

Overrides:
equals in class ThreeIntStruct

hashCode

public int hashCode()

Overrides:
hashCode in class ThreeIntStruct


Copyright © 2003 - 2006 OpenSubsystems s.r.o.