本文整理了Java中com.unboundid.ldap.sdk.DN.hashCode()
方法的一些代码示例,展示了DN.hashCode()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。DN.hashCode()
方法的具体详情如下:
包路径:com.unboundid.ldap.sdk.DN
类名称:DN
方法名:hashCode
[英]Generates a hash code for this DN.
[中]为此DN生成哈希代码。
代码示例来源:origin: com.nimbusds/common
/**
* Overrides {@code Object.hashCode()}.
*
* @return The object hash code.
*/
@Override
public int hashCode() {
return dn.hashCode();
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
/**
* Generates a hash code for this entry.
*
* @return The generated hash code for this entry.
*/
@Override()
public int hashCode()
{
int hashCode = 0;
try
{
hashCode += getParsedDN().hashCode();
}
catch (LDAPException le)
{
debugException(le);
hashCode += dn.hashCode();
}
for (final Attribute a : attributes.values())
{
hashCode += a.hashCode();
}
return hashCode;
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
/**
* Generates a hash code for this entry.
*
* @return The generated hash code for this entry.
*/
@Override()
public int hashCode()
{
int hashCode = 0;
try
{
hashCode += getParsedDN().hashCode();
}
catch (LDAPException le)
{
debugException(le);
hashCode += dn.hashCode();
}
for (final Attribute a : attributes.values())
{
hashCode += a.hashCode();
}
return hashCode;
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
/**
* {@inheritDoc}
*/
@Override()
public int hashCode()
{
try
{
return getParsedDN().hashCode();
}
catch (Exception e)
{
debugException(e);
return toLowerCase(getDN()).hashCode();
}
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
/**
* {@inheritDoc}
*/
@Override()
public int hashCode()
{
try
{
return getParsedDN().hashCode();
}
catch (Exception e)
{
debugException(e);
return toLowerCase(getDN()).hashCode();
}
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
try
hashCode = getParsedDN().hashCode() + getParsedNewRDN().hashCode();
if (newSuperiorDN != null)
hashCode += getParsedNewSuperiorDN().hashCode();
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
try
hashCode = getParsedDN().hashCode() + getParsedNewRDN().hashCode();
if (newSuperiorDN != null)
hashCode += getParsedNewSuperiorDN().hashCode();
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
/**
* {@inheritDoc}
*/
@Override()
public int hashCode()
{
int hashCode;
try
{
hashCode = getParsedDN().hashCode();
}
catch (final Exception e)
{
debugException(e);
hashCode = toLowerCase(getDN()).hashCode();
}
for (final Modification m : modifications)
{
hashCode += m.hashCode();
}
return hashCode;
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
/**
* {@inheritDoc}
*/
@Override()
public int hashCode()
{
int hashCode;
try
{
hashCode = getParsedDN().hashCode();
}
catch (final Exception e)
{
debugException(e);
hashCode = toLowerCase(getDN()).hashCode();
}
for (final Modification m : modifications)
{
hashCode += m.hashCode();
}
return hashCode;
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
/**
* {@inheritDoc}
*/
@Override()
public int hashCode()
{
try
{
int hashCode = getParsedDN().hashCode();
for (final Attribute a : attributes)
{
hashCode += a.hashCode();
}
return hashCode;
}
catch (final Exception e)
{
debugException(e);
return new Entry(getDN(), attributes).hashCode();
}
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
/**
* {@inheritDoc}
*/
@Override()
public int hashCode()
{
try
{
int hashCode = getParsedDN().hashCode();
for (final Attribute a : attributes)
{
hashCode += a.hashCode();
}
return hashCode;
}
catch (final Exception e)
{
debugException(e);
return new Entry(getDN(), attributes).hashCode();
}
}
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
try
hc = schemaEntry.getParsedDN().hashCode();
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
try
hc = schemaEntry.getParsedDN().hashCode();
内容来源于网络,如有侵权,请联系作者删除!