com.google.common.base.Ascii.getAlphaIndex()方法的使用及代码示例

x33g5p2x  于2022-01-15 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(218)

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

Ascii.getAlphaIndex介绍

[英]Returns the non-negative index value of the alpha character c, regardless of case. Ie, 'a'/'A' returns 0 and 'z'/'Z' returns 25. Non-alpha characters return a value of 26 or greater.
[中]返回字母字符c的非负索引值,不考虑大小写。即,'a'/'a'返回0,'z'/'z'返回25。非字母字符返回26或更大的值。

代码示例

代码示例来源:origin: google/guava

continue;
int alphaIndex = getAlphaIndex(c1);
if (alphaIndex < 26 && alphaIndex == getAlphaIndex(c2)) {
 continue;

代码示例来源:origin: google/j2objc

continue;
int alphaIndex = getAlphaIndex(c1);
if (alphaIndex < 26 && alphaIndex == getAlphaIndex(c2)) {
 continue;

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

continue;
int alphaIndex = getAlphaIndex(c1);
if (alphaIndex < 26 && alphaIndex == getAlphaIndex(c2)) {
 continue;

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

continue;
int alphaIndex = getAlphaIndex(c1);
if (alphaIndex < 26 && alphaIndex == getAlphaIndex(c2)) {
 continue;

代码示例来源:origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger

continue;
int alphaIndex = getAlphaIndex(c1);
if (alphaIndex < 26 && alphaIndex == getAlphaIndex(c2)) {
 continue;

代码示例来源:origin: com.google.guava/guava-jdk5

continue;
int alphaIndex = getAlphaIndex(c1);
if (alphaIndex < 26 && alphaIndex == getAlphaIndex(c2)) {
 continue;

代码示例来源:origin: Nextdoor/bender

continue;
int alphaIndex = getAlphaIndex(c1);
if (alphaIndex < 26 && alphaIndex == getAlphaIndex(c2)) {
 continue;

代码示例来源:origin: com.diffplug.guava/guava-core

continue;
int alphaIndex = getAlphaIndex(c1);
if (alphaIndex < 26 && alphaIndex == getAlphaIndex(c2)) {
  continue;

相关文章