org.glassfish.grizzly.http.util.Ascii.toLower()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(4.6k)|赞(0)|评价(0)|浏览(121)

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

Ascii.toLower介绍

[英]Returns the lower case equivalent of the specified ASCII character.
[中]返回指定ASCII字符的小写等效字符。

代码示例

代码示例来源:origin: org.glassfish.grizzly/grizzly-http

public int hashIgnoreCase() {
  int code=0;
  for (int i = start; i < end; i++) {
    code = code * 31 + Ascii.toLower(buff[i]);
  }
  return code;
}

代码示例来源:origin: org.glassfish.grizzly/grizzly-websockets-server

private static int hashBytesIC(byte[] bytes, int start, int bytesLen ) {
  int max=start+bytesLen;
  int code=0;
  for (int i = start; i < max ; i++) {
    code = code * 31 + Ascii.toLower(bytes[i]);
  }
  return code;
}

代码示例来源:origin: javaee/grizzly

public int hashIgnoreCase() {
  int code=0;
  for (int i = start; i < end; i++) {
    code = code * 31 + Ascii.toLower(buff[i]);
  }
  return code;
}

代码示例来源:origin: javaee/grizzly

public int hashIgnoreCase() {
  int code=0;
  for (int i = start; i < end; i++) {
    code = code * 31 + Ascii.toLower(buff[i]);
  }
  return code;
}

代码示例来源:origin: org.glassfish.grizzly/grizzly-http

private static int hashBytesIC(byte[] bytes, int start, int bytesLen ) {
  int max=start+bytesLen;
  int code=0;
  for (int i = start; i < max ; i++) {
    code = code * 31 + Ascii.toLower(bytes[i]);
  }
  return code;
}

代码示例来源:origin: javaee/grizzly

public int hashIgnoreCase() {
  int code=0;
  for (int i = start; i < end; i++) {
    code = code * 31 + Ascii.toLower(buff[i]);
  }
  return code;
}

代码示例来源:origin: javaee/grizzly

private static int hashBytesIC(byte[] bytes, int start, int bytesLen ) {
  int max=start+bytesLen;
  int code=0;
  for (int i = start; i < max ; i++) {
    code = code * 31 + Ascii.toLower(bytes[i]);
  }
  return code;
}

代码示例来源:origin: org.glassfish.grizzly/grizzly-websockets-server

public int hashIgnoreCase() {
  int code=0;
  for (int i = start; i < end; i++) {
    code = code * 31 + Ascii.toLower(buff[i]);
  }
  return code;
}

代码示例来源:origin: javaee/grizzly

public int hashIgnoreCase() {
  int code=0;
  for (int i = start; i < end; i++) {
    code = code * 31 + Ascii.toLower(buff[i]);
  }
  return code;
}

代码示例来源:origin: javaee/grizzly

private static boolean equalsIgnoreCase(String s, byte[] b) {
  final int len = b.length;
  if (s.length() != len) {
    return false;
  }
  for (int i = 0; i < len; i++) {
    if (Ascii.toLower(s.charAt(i)) != Ascii.toLower(b[i])) {
      return false;
    }
  }
  return true;
}

代码示例来源:origin: javaee/grizzly

private static boolean equalsIgnoreCase(String s, byte[] b) {
  final int len = b.length;
  if (s.length() != len) {
    return false;
  }
  for (int i = 0; i < len; i++) {
    if (Ascii.toLower(s.charAt(i)) != Ascii.toLower(b[i])) {
      return false;
    }
  }
  return true;
}

代码示例来源:origin: javaee/grizzly

private static boolean equalsIgnoreCase(String s, byte[] b) {
  final int len = b.length;
  if (s.length() != len) {
    return false;
  }
  for (int i = 0; i < len; i++) {
    if (Ascii.toLower(s.charAt(i)) != Ascii.toLower(b[i])) {
      return false;
    }
  }
  return true;
}

代码示例来源:origin: org.glassfish.grizzly/grizzly-http

private static boolean equalsIgnoreCase(String s, byte[] b) {
  final int len = b.length;
  if (s.length() != len) {
    return false;
  }
  for (int i = 0; i < len; i++) {
    if (Ascii.toLower(s.charAt(i)) != Ascii.toLower(b[i])) {
      return false;
    }
  }
  return true;
}

代码示例来源:origin: org.glassfish.grizzly/grizzly-websockets-server

private static boolean equalsIgnoreCase(String s, byte[] b) {
  final int len = b.length;
  if (s.length() != len) {
    return false;
  }
  for (int i = 0; i < len; i++) {
    if (Ascii.toLower(s.charAt(i)) != Ascii.toLower(b[i])) {
      return false;
    }
  }
  return true;
}

代码示例来源:origin: javaee/grizzly

private static boolean equalsIgnoreCase(String s, byte[] b) {
  final int len = b.length;
  if (s.length() != len) {
    return false;
  }
  for (int i = 0; i < len; i++) {
    if (Ascii.toLower(s.charAt(i)) != Ascii.toLower(b[i])) {
      return false;
    }
  }
  return true;
}

代码示例来源:origin: javaee/grizzly

public boolean equalsIgnoreCase(CharSequence s) {
  if (getLength() != s.length()) {
    return false;
  }
  for (int i = start; i < end; i++) {
    if (Ascii.toLower(buffer.get(i)) != Ascii.toLower(s.charAt(i - start))) {
      return false;
    }
  }
  return true;
}

代码示例来源:origin: javaee/grizzly

public boolean equalsIgnoreCase(CharSequence s) {
  if (getLength() != s.length()) {
    return false;
  }
  for (int i = start; i < end; i++) {
    if (Ascii.toLower(buffer.get(i)) != Ascii.toLower(s.charAt(i - start))) {
      return false;
    }
  }
  return true;
}

代码示例来源:origin: org.glassfish.grizzly/grizzly-websockets-server

public boolean equalsIgnoreCase(CharSequence s) {
  if (getLength() != s.length()) {
    return false;
  }
  for (int i = start; i < end; i++) {
    if (Ascii.toLower(buffer.get(i)) != Ascii.toLower(s.charAt(i - start))) {
      return false;
    }
  }
  return true;
}

代码示例来源:origin: javaee/grizzly

public boolean equalsIgnoreCase(CharSequence s) {
  if (getLength() != s.length()) {
    return false;
  }
  for (int i = start; i < end; i++) {
    if (Ascii.toLower(buffer.get(i)) != Ascii.toLower(s.charAt(i - start))) {
      return false;
    }
  }
  return true;
}

代码示例来源:origin: javaee/grizzly

public boolean equalsIgnoreCase(CharSequence s) {
  if (getLength() != s.length()) {
    return false;
  }
  for (int i = start; i < end; i++) {
    if (Ascii.toLower(buffer.get(i)) != Ascii.toLower(s.charAt(i - start))) {
      return false;
    }
  }
  return true;
}

相关文章