org.apache.directory.api.ldap.model.name.Ava.hashCode()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(3.5k)|赞(0)|评价(0)|浏览(110)

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

Ava.hashCode介绍

[英]Gets the hashcode of this object.
[中]获取此对象的哈希代码。

代码示例

代码示例来源:origin: org.apache.directory.api/api-ldap-client-all

h = h * 17 + ava.hashCode();
break;
  h = h * 17 + ata.hashCode();

代码示例来源:origin: org.apache.directory.api/api-ldap-model

h = h * 17 + ava.hashCode();
break;
  h = h * 17 + ata.hashCode();

代码示例来源:origin: org.apache.directory.api/api-all

h = h * 17 + ava.hashCode();
break;
  h = h * 17 + ata.hashCode();

代码示例来源:origin: org.apache.directory.api/api-ldap-client-all

/**
 * Construct a schema aware Ava. The AttributeType and value will be checked accordingly
 * to the SchemaManager.
 * <p>
 * Note that the upValue should <b>not</b> be null or empty, or resolve
 * to an empty string after having trimmed it.
 *
 * @param schemaManager The SchemaManager instance
 * @param upType The User Provided type
 * @param value The value
 */
private void createAva( SchemaManager schemaManager, String upType, Value value )
{
  StringBuilder sb = new StringBuilder();
  normType = attributeType.getOid();
  this.upType = upType;
  this.value = value;
  
  sb.append( upType );
  sb.append( '=' );
  
  if ( value != null )
  {
    sb.append( Rdn.escapeValue( value.getValue() ) );
  }
  
  upName = sb.toString();
  hashCode();
}

代码示例来源:origin: org.apache.directory.api/api-all

/**
 * Construct a schema aware Ava. The AttributeType and value will be checked accordingly
 * to the SchemaManager.
 * <p>
 * Note that the upValue should <b>not</b> be null or empty, or resolve
 * to an empty string after having trimmed it.
 *
 * @param schemaManager The SchemaManager instance
 * @param upType The User Provided type
 * @param value The value
 */
private void createAva( SchemaManager schemaManager, String upType, Value value )
{
  StringBuilder sb = new StringBuilder();
  normType = attributeType.getOid();
  this.upType = upType;
  this.value = value;
  
  sb.append( upType );
  sb.append( '=' );
  
  if ( value != null )
  {
    sb.append( Rdn.escapeValue( value.getValue() ) );
  }
  
  upName = sb.toString();
  hashCode();
}

代码示例来源:origin: org.apache.directory.api/api-ldap-model

/**
 * Construct a schema aware Ava. The AttributeType and value will be checked accordingly
 * to the SchemaManager.
 * <p>
 * Note that the upValue should <b>not</b> be null or empty, or resolve
 * to an empty string after having trimmed it.
 *
 * @param schemaManager The SchemaManager instance
 * @param upType The User Provided type
 * @param value The value
 */
private void createAva( SchemaManager schemaManager, String upType, Value value )
{
  StringBuilder sb = new StringBuilder();
  normType = attributeType.getOid();
  this.upType = upType;
  this.value = value;
  
  sb.append( upType );
  sb.append( '=' );
  
  if ( value != null )
  {
    sb.append( Rdn.escapeValue( value.getValue() ) );
  }
  
  upName = sb.toString();
  hashCode();
}

代码示例来源:origin: org.apache.directory.api/api-ldap-model

hashCode();

代码示例来源:origin: org.apache.directory.api/api-all

hashCode();

代码示例来源:origin: org.apache.directory.api/api-ldap-client-all

hashCode();

代码示例来源:origin: org.apache.directory.api/api-ldap-client-all

hashCode();

代码示例来源:origin: org.apache.directory.api/api-all

hashCode();

代码示例来源:origin: org.apache.directory.api/api-ldap-model

hashCode();

代码示例来源:origin: org.apache.directory.api/api-ldap-model

hashCode();

代码示例来源:origin: org.apache.directory.api/api-all

hashCode();

代码示例来源:origin: org.apache.directory.api/api-ldap-client-all

hashCode();

代码示例来源:origin: org.apache.directory.api/api-all

hashCode();

代码示例来源:origin: org.apache.directory.api/api-ldap-client-all

hashCode();

代码示例来源:origin: org.apache.directory.api/api-all

hashCode();

代码示例来源:origin: org.apache.directory.api/api-ldap-model

hashCode();

代码示例来源:origin: org.apache.directory.api/api-ldap-client-all

hashCode();

相关文章