|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mattbusche.util.partition.Entry<M>
public class Entry<M>
An instance of Entry<M> is a simple data pair consisting of an integer ID and a user-provided member object of type M. An Entry's member may be null.
Method Summary | |
---|---|
int |
getId()
Returns the Entry ID. |
M |
getMember()
Returns the Entry member. |
void |
setMember(M member)
Sets the Entry member. |
java.lang.String |
toString()
Prints the Entry in the following format: |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int getId()
public M getMember()
public void setMember(M member)
public java.lang.String toString()
Prints the Entry in the following format:
(id, member)
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |