|
BRUtil - Making Java a Kinder, Gentler, Place to be. |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--brutil.HandlePQ
| Constructor Summary | |
HandlePQ(java.lang.Object obj,
int value)
|
|
| Method Summary | |
void |
delete()
Sets the boolean variable "deleted" to true |
int |
getKey()
Returns the key value stored |
java.lang.Object |
getObj()
Returns the object value |
int |
getPosition()
Returns the array postion of this object |
boolean |
isDeleted()
Returns the value of the "deleted" variable |
void |
setKey(int i)
Sets the key value |
void |
setPosition(int i)
Stores the array postion at which the object is stored |
java.lang.String |
toString()
Return the toString values of the key and the object stored |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public HandlePQ(java.lang.Object obj,
int value)
| Method Detail |
public int getKey()
public java.lang.Object getObj()
public java.lang.String toString()
toString in class java.lang.Objectpublic int getPosition()
public void setPosition(int i)
the - array position of this objectpublic void setKey(int i)
the - key value of this objectpublic void delete()
public boolean isDeleted()
|
BRUtil - Making Java a Kinder, Gentler, Place to be. |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||