org.wildfly.security.x500.cert.KeyUsage.ordinal()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(66)

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

KeyUsage.ordinal介绍

暂无

代码示例

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

/**
 * Determine whether the bit # corresponding to this enumeration is set in the given boolean array.
 *
 * @param booleans the boolean array (must not be {@code null})
 * @return {@code true} if there is a {@code true} {@code boolean} at the index corresponding to the ordinal of this constant
 */
public boolean in(final boolean[] booleans) {
  final int ordinal = ordinal();
  return booleans.length > ordinal && booleans[ordinal];
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

/**
 * Determine whether the bit # corresponding to this enumeration is set in the given boolean array.
 *
 * @param booleans the boolean array (must not be {@code null})
 * @return {@code true} if there is a {@code true} {@code boolean} at the index corresponding to the ordinal of this constant
 */
public boolean in(final boolean[] booleans) {
  final int ordinal = ordinal();
  return booleans.length > ordinal && booleans[ordinal];
}

代码示例来源:origin: org.wildfly.security/wildfly-elytron-x500-cert

/**
 * Determine whether the bit # corresponding to this enumeration is set in the given boolean array.
 *
 * @param booleans the boolean array (must not be {@code null})
 * @return {@code true} if there is a {@code true} {@code boolean} at the index corresponding to the ordinal of this constant
 */
public boolean in(final boolean[] booleans) {
  final int ordinal = ordinal();
  return booleans.length > ordinal && booleans[ordinal];
}

代码示例来源:origin: org.wildfly.security/wildfly-elytron

/**
 * Determine whether the bit # corresponding to this enumeration is set in the given boolean array.
 *
 * @param booleans the boolean array (must not be {@code null})
 * @return {@code true} if there is a {@code true} {@code boolean} at the index corresponding to the ordinal of this constant
 */
public boolean in(final boolean[] booleans) {
  final int ordinal = ordinal();
  return booleans.length > ordinal && booleans[ordinal];
}

相关文章

微信公众号

最新文章

更多