public class GroupID
extends java.lang.Object
MembershipInfo.getGroupID().
To check if two GroupID's represent the same group, use equals(Object):
if(thisID.equals(thatID) == true)
System.out.println("Equal group ID's.");
| Modifier and Type | Field and Description |
|---|---|
private int[] |
ID |
| Modifier | Constructor and Description |
|---|---|
protected |
GroupID(int id0,
int id1,
int id2) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object)
Returns true if the two GroupID's represent the same group membership view at the same point in time
in the history of the group.
|
protected int[] |
getID() |
int |
hashCode()
Returns the hash code of the group ID.
|
java.lang.String |
toString()
Converts the GroupID to a string.
|
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectobject - a GroupID to compare againstprotected int[] getID()
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright ? 2004 Spread Concepts LLC. All Rights Reserved.