org.opensubsystems.core.util
Class ThreeIntStruct

java.lang.Object
  extended by org.opensubsystems.core.util.TwoIntStruct
      extended by org.opensubsystems.core.util.ThreeIntStruct
Direct Known Subclasses:
FourIntStruct

public class ThreeIntStruct
extends TwoIntStruct

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

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

Field Summary
protected  int m_iThird
          Third integer
 
Fields inherited from class org.opensubsystems.core.util.TwoIntStruct
m_iFirst, m_iSecond
 
Constructor Summary
ThreeIntStruct(int iFirst, int iSecond, int iThird)
          Public constructor.
 
Method Summary
 boolean equals(java.lang.Object oObject)
          
 int getThird()
           
 int hashCode()
          
 
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_iThird

protected int m_iThird
Third integer

Constructor Detail

ThreeIntStruct

public ThreeIntStruct(int iFirst,
                      int iSecond,
                      int iThird)
Public constructor.

Parameters:
iFirst - - first integer
iSecond - - second integer
iThird - - third integer
Method Detail

getThird

public int getThird()
Returns:
int

equals

public boolean equals(java.lang.Object oObject)

Overrides:
equals in class TwoIntStruct

hashCode

public int hashCode()

Overrides:
hashCode in class TwoIntStruct


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