net.jini.id.Uuid.hashCode()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(3.9k)|赞(0)|评价(0)|浏览(139)

本文整理了Java中net.jini.id.Uuid.hashCode()方法的一些代码示例,展示了Uuid.hashCode()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Uuid.hashCode()方法的具体详情如下:
包路径:net.jini.id.Uuid
类名称:Uuid
方法名:hashCode

Uuid.hashCode介绍

[英]Returns the hash code value for this Uuid.
[中]

代码示例

代码示例来源:origin: au.net.zeus.jgdms.fiddler/fiddler-dl

/** 
 * For any instance of this class, returns the hashcode value generated
 * by the hashCode method of the registration ID associated with the
 * current instance of this proxy.
 *
 * @return <code>int</code> value representing the hashcode for an
 *         instance of this class.
 */
public int hashCode() {
return registrationID.hashCode();
}

代码示例来源:origin: xap/xap

@Override
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = prime * result + ((_transactionManagerId == null) ? 0 : _transactionManagerId.hashCode());
  return result;
}

代码示例来源:origin: xap/xap

/**
 * Constructor for use by getInstance(), ConstrainableAdminProxy.
 */
public ServiceAdminProxy(ServiceAdmin adminImpl, Uuid uuid) {
  //super(admin, uuid);
  this.adminImpl = adminImpl;
  this.uuid = uuid;
  this.hashCode = uuid.hashCode();
}

代码示例来源:origin: au.net.zeus.jgdms.fiddler/fiddler-dl

/** 
 * For any instance of this class, returns the hashcode value generated
 * by the hashCode method of the lease ID associated with the current
 * instance of this lease.
 *
 * @return <code>int</code> value representing the hashcode for an
 *         instance of this class.
 */
public int hashCode() {
  return leaseID.hashCode();
}

代码示例来源:origin: au.net.zeus.jgdms.fiddler/fiddler-dl

/** 
 * For any instance of this class, returns the hashcode value generated
 * by the hashCode method of the proxy ID associated with the current
 * instance of this proxy.
 *
 * @return <code>int</code> value representing the hashcode for an
 *         instance of this class.
 */
public int hashCode() {
return proxyID.hashCode();
}

代码示例来源:origin: au.net.zeus.jgdms.fiddler/fiddler-dl

/** 
 * For any instance of this class, returns the hashcode value generated
 * by the hashCode method of the proxy ID associated with the current
 * instance of this proxy.
 *
 * @return <code>int</code> value representing the hashcode for an
 *         instance of this class.
 */
public int hashCode() {
return proxyID.hashCode();
}

代码示例来源:origin: au.net.zeus.jgdms.reggie/reggie-dl

/** Returns the lease Uuid's hash code. */
@Override
public int hashCode() {
return leaseID.hashCode();
}

代码示例来源:origin: xap/xap

/**
 * Proxies for servers with the same proxyID have the same hash code.
 */
@Override
public int hashCode() {
  return proxyID.hashCode();
}

代码示例来源:origin: xap/xap

/**
 * Returns the lease Uuid's hash code.
 */
public int hashCode() {
  return leaseID.hashCode();
}

代码示例来源:origin: xap/xap

@Override
public int hashCode() {
  return leaseID.hashCode() + (int) (eventID ^ (eventID >>> 32)); //hashcode of long eventID
}

代码示例来源:origin: au.net.zeus.jgdms/jgdms-lib-dl

public int hashCode() {
return cookie.hashCode();
}

代码示例来源:origin: xap/xap

public int hashCode() {
  return proxyID.hashCode();
}

代码示例来源:origin: xap/xap

public int hashCode() {
  return cookie.hashCode();
}

代码示例来源:origin: au.net.zeus.jgdms.reggie/reggie-dl

/** Returns the registration Uuid's hash code. */
@Override
public int hashCode() {
return lease.getReferentUuid().hashCode();
}

代码示例来源:origin: xap/xap

/**
 * Returns the registration Uuid's hash code.
 */
public int hashCode() {
  return lease.getReferentUuid().hashCode();
}

代码示例来源:origin: xap/xap

public ProxySettings(IRemoteSpace remoteSpace, SpaceSettings spaceSettings) {
  this._remoteSpace = remoteSpace;
  this._spaceSettings = spaceSettings;
  this._memberName = _spaceSettings.getMemberName();
  this._uuidHashCode = _spaceSettings.getUuid().hashCode();
  this._clusterInfo = spaceSettings.getSpaceConfig().getClusterInfo();
  this._nonClusterInfo = _clusterInfo.isClustered() ? new SpaceClusterInfo(null, _memberName) : _clusterInfo;
  this._isCollocated = RemoteStub.isCollocatedStub(_remoteSpace);
  if (_remoteSpace instanceof LRMISpaceImpl) {
    LRMISpaceImpl lrmiSpaceImpl = (LRMISpaceImpl) _remoteSpace;
    _spaceImpl = lrmiSpaceImpl.isEmbedded() ? (SpaceImpl) lrmiSpaceImpl.getProxy() : null;
  } else
    _spaceImpl = null;
  _customProperties = new Properties();
  Properties serverProperties = getSpaceURL().getCustomProperties();
  if (serverProperties != null)
    _customProperties.putAll(serverProperties);
}

相关文章