|
Project JXTA | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.jxta.id.ID
net.jxta.peergroup.PeerGroupID
net.jxta.impl.id.UUID.PeerGroupID
An implementation of the PeerGroupID ID Type.
| Field Summary | |
protected static int |
groupIdOffset
Location of the group id UUID within the id bytes. |
protected IDBytes |
id
The id data |
protected static int |
padOffset
Location of the begining of the pad space. |
protected static int |
padSize
size of the pad space. |
protected static int |
parentgroupIdOffset
Location of the parent group id UUID within the id bytes. |
| Fields inherited from class net.jxta.peergroup.PeerGroupID |
defaultNetPeerGroupID, worldPeerGroupID |
| Fields inherited from class net.jxta.id.ID |
nullID, URIEncodingName, URNNamespace |
| Constructor Summary | |
|
PeerGroupID()
See IDFactory.Instantiator.newPeerGroupID(). |
|
PeerGroupID(byte[] seed)
See IDFactory.Instantiator.newPeerGroupID(byte[]). |
protected |
PeerGroupID(IDBytes id)
Intializes contents from provided ID. |
|
PeerGroupID(PeerGroupID parent)
See IDFactory.Instantiator.newPeerGroupID(net.jxta.peergroup.PeerGroupID). |
|
PeerGroupID(PeerGroupID parent,
byte[] seed)
See IDFactory.Instantiator.newPeerGroupID(net.jxta.peergroup.PeerGroupID,byte[]). |
protected |
PeerGroupID(UUID groupUUID)
Creates a PeerGroupID. |
| Method Summary | |
boolean |
equals(Object target)
|
String |
getIDFormat()
|
PeerGroupID |
getParentPeerGroupID()
|
Object |
getUniqueValue()
|
URL |
getURL()
|
protected UUID |
getUUID()
Returns the UUID associated with this PeerGroupID. |
int |
hashCode()
|
URI |
toURI()
|
| Methods inherited from class net.jxta.peergroup.PeerGroupID |
|
| Methods inherited from class net.jxta.id.ID |
clone, create, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected static final int groupIdOffset
protected static final int parentgroupIdOffset
protected static final int padOffset
protected static final int padSize
protected IDBytes id
| Constructor Detail |
protected PeerGroupID(IDBytes id)
id - the ID dataprotected PeerGroupID(UUID groupUUID)
groupUUID - the PeerGroupID to use to construct the new PeerGroupIDpublic PeerGroupID()
IDFactory.Instantiator.newPeerGroupID().
public PeerGroupID(PeerGroupID parent)
IDFactory.Instantiator.newPeerGroupID(net.jxta.peergroup.PeerGroupID).
public PeerGroupID(byte[] seed)
IDFactory.Instantiator.newPeerGroupID(byte[]).
public PeerGroupID(PeerGroupID parent,
byte[] seed)
IDFactory.Instantiator.newPeerGroupID(net.jxta.peergroup.PeerGroupID,byte[]).
| Method Detail |
public boolean equals(Object target)
public int hashCode()
public String getIDFormat()
public Object getUniqueValue()
public URL getURL()
public PeerGroupID getParentPeerGroupID()
protected UUID getUUID()
public URI toURI()
|
JXTA J2SE | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||