|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensubsystems.core.util.TwoIntStruct
public class TwoIntStruct
Class which can hold two integers. This is useful if I want to create array of two integers to pass as argument to some function.
| Field Summary | |
|---|---|
protected int |
m_iFirst
First integer |
protected int |
m_iSecond
Second integer |
| Constructor Summary | |
|---|---|
TwoIntStruct(int iFirst,
int iSecond)
Public constructor. |
|
TwoIntStruct(TwoIntStruct input)
Public constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object oObject)
|
int |
getFirst()
|
int |
getSecond()
|
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int m_iFirst
protected int m_iSecond
| Constructor Detail |
|---|
public TwoIntStruct(int iFirst,
int iSecond)
iFirst - - first integeriSecond - - second integerpublic TwoIntStruct(TwoIntStruct input)
input - - TwoIntStruct to copy into| Method Detail |
|---|
public int getFirst()
public int getSecond()
public boolean equals(java.lang.Object oObject)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||