|
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
public class 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)
Initializes 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()
Returns a string identifier which indicates which ID format is used by this ID instance. |
PeerGroupID |
getParentPeerGroupID()
Returns the parent peer group id of this peer group id, if any. |
Object |
getUniqueValue()
Returns an object containing the unique value of the ID. |
protected UUID |
getUUID()
Returns the UUID associated with this PeerGroupID. |
int |
hashCode()
|
Methods inherited from class net.jxta.peergroup.PeerGroupID |
---|
create, intern |
Methods inherited from class net.jxta.id.ID |
---|
getURL, toString, toURI |
Methods inherited from class java.lang.Object |
---|
clone, 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)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getIDFormat()
getIDFormat
in class ID
public Object getUniqueValue()
this
.
getUniqueValue
in class ID
public PeerGroupID getParentPeerGroupID()
getParentPeerGroupID
in class PeerGroupID
protected UUID getUUID()
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |