FileDocCategorySizeDatePackage
PeerIdentityDataID.javaAPI DocAzureus 3.0.3.41903Thu Feb 09 19:43:20 GMT 2006org.gudy.azureus2.core3.peer.util

PeerIdentityDataID

public class PeerIdentityDataID extends Object

Fields Summary
private final byte[]
dataId
private final int
hashcode
private Map
peer_map
Constructors Summary
protected PeerIdentityDataID(byte[] _data_id)

      dataId 	= _data_id;
      
      this.hashcode = new String( dataId ).hashCode();
    
Methods Summary
public booleanequals(java.lang.Object obj)

      if (this == obj)  return true;
      if (obj != null && obj instanceof PeerIdentityDataID) {
        PeerIdentityDataID other = (PeerIdentityDataID)obj;
        return Arrays.equals(this.dataId, other.dataId);
      }
      return false;
    
public byte[]getDataID()

    	return( dataId );
    
protected java.util.MapgetPeerMap()

    	return( peer_map );
    
public inthashCode()

      return hashcode;
    
protected voidsetPeerMap(java.util.Map m)

    	peer_map	= m;