本文整理了Java中org.wildfly.security.x500.cert.KeyUsage.ordinal()
方法的一些代码示例,展示了KeyUsage.ordinal()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。KeyUsage.ordinal()
方法的具体详情如下:
包路径:org.wildfly.security.x500.cert.KeyUsage
类名称: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];
}
内容来源于网络,如有侵权,请联系作者删除!