org.apache.xml.serializer.utils.URI.isDigit()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(6.0k)|赞(0)|评价(0)|浏览(133)

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

URI.isDigit介绍

[英]Determine whether a char is a digit.
[中]确定字符是否为数字。

代码示例

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

/**
 * Determine whether a character is a hexadecimal character.
 *
 *
 * @param p_char the character to check
 * @return true if the char is betweeen '0' and '9', 'a' and 'f'
 *         or 'A' and 'F', false otherwise
 */
private static boolean isHex(char p_char)
{
 return (isDigit(p_char) || (p_char >= 'a' && p_char <= 'f')
     || (p_char >= 'A' && p_char <= 'F'));
}

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

/**
 * Determine whether a char is an alphanumeric: 0-9, a-z or A-Z
 *
 *
 * @param p_char the character to check
 * @return true if the char is alphanumeric, false otherwise
 */
private static boolean isAlphanum(char p_char)
{
 return (isAlpha(p_char) || isDigit(p_char));
}

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

if (index + 1 < addrLength && isDigit(p_address.charAt(index + 1)))
   if (!isDigit(address.charAt(i - 1))
       || (i + 1 < addrLength &&!isDigit(address.charAt(i + 1))))
  else if (!isDigit(testChar))

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

if (!isDigit(portStr.charAt(i)))

代码示例来源:origin: ibinti/bugvm

/**
 * Determine whether a character is a hexadecimal character.
 *
 *
 * @param p_char the character to check
 * @return true if the char is betweeen '0' and '9', 'a' and 'f'
 *         or 'A' and 'F', false otherwise
 */
private static boolean isHex(char p_char)
{
 return (isDigit(p_char) || (p_char >= 'a' && p_char <= 'f')
     || (p_char >= 'A' && p_char <= 'F'));
}

代码示例来源:origin: MobiVM/robovm

/**
 * Determine whether a character is a hexadecimal character.
 *
 *
 * @param p_char the character to check
 * @return true if the char is betweeen '0' and '9', 'a' and 'f'
 *         or 'A' and 'F', false otherwise
 */
private static boolean isHex(char p_char)
{
 return (isDigit(p_char) || (p_char >= 'a' && p_char <= 'f')
     || (p_char >= 'A' && p_char <= 'F'));
}

代码示例来源:origin: com.gluonhq/robovm-rt

/**
 * Determine whether a character is a hexadecimal character.
 *
 *
 * @param p_char the character to check
 * @return true if the char is betweeen '0' and '9', 'a' and 'f'
 *         or 'A' and 'F', false otherwise
 */
private static boolean isHex(char p_char)
{
 return (isDigit(p_char) || (p_char >= 'a' && p_char <= 'f')
     || (p_char >= 'A' && p_char <= 'F'));
}

代码示例来源:origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
 * Determine whether a character is a hexadecimal character.
 *
 *
 * @param p_char the character to check
 * @return true if the char is betweeen '0' and '9', 'a' and 'f'
 *         or 'A' and 'F', false otherwise
 */
private static boolean isHex(char p_char)
{
 return (isDigit(p_char) || (p_char >= 'a' && p_char <= 'f')
     || (p_char >= 'A' && p_char <= 'F'));
}

代码示例来源:origin: com.bugvm/bugvm-rt

/**
 * Determine whether a character is a hexadecimal character.
 *
 *
 * @param p_char the character to check
 * @return true if the char is betweeen '0' and '9', 'a' and 'f'
 *         or 'A' and 'F', false otherwise
 */
private static boolean isHex(char p_char)
{
 return (isDigit(p_char) || (p_char >= 'a' && p_char <= 'f')
     || (p_char >= 'A' && p_char <= 'F'));
}

代码示例来源:origin: org.apache.xalan/com.springsource.org.apache.xml.serializer

/**
 * Determine whether a character is a hexadecimal character.
 *
 *
 * @param p_char the character to check
 * @return true if the char is betweeen '0' and '9', 'a' and 'f'
 *         or 'A' and 'F', false otherwise
 */
private static boolean isHex(char p_char)
{
 return (isDigit(p_char) || (p_char >= 'a' && p_char <= 'f')
     || (p_char >= 'A' && p_char <= 'F'));
}

代码示例来源:origin: xalan/serializer

/**
 * Determine whether a char is an alphanumeric: 0-9, a-z or A-Z
 *
 *
 * @param p_char the character to check
 * @return true if the char is alphanumeric, false otherwise
 */
private static boolean isAlphanum(char p_char)
{
 return (isAlpha(p_char) || isDigit(p_char));
}

代码示例来源:origin: MobiVM/robovm

/**
 * Determine whether a char is an alphanumeric: 0-9, a-z or A-Z
 *
 *
 * @param p_char the character to check
 * @return true if the char is alphanumeric, false otherwise
 */
private static boolean isAlphanum(char p_char)
{
 return (isAlpha(p_char) || isDigit(p_char));
}

代码示例来源:origin: org.apache.xalan/serializer

/**
 * Determine whether a char is an alphanumeric: 0-9, a-z or A-Z
 *
 *
 * @param p_char the character to check
 * @return true if the char is alphanumeric, false otherwise
 */
private static boolean isAlphanum(char p_char)
{
 return (isAlpha(p_char) || isDigit(p_char));
}

代码示例来源:origin: org.apache.xalan/com.springsource.org.apache.xml.serializer

/**
 * Determine whether a char is an alphanumeric: 0-9, a-z or A-Z
 *
 *
 * @param p_char the character to check
 * @return true if the char is alphanumeric, false otherwise
 */
private static boolean isAlphanum(char p_char)
{
 return (isAlpha(p_char) || isDigit(p_char));
}

代码示例来源:origin: ibinti/bugvm

/**
 * Determine whether a char is an alphanumeric: 0-9, a-z or A-Z
 *
 *
 * @param p_char the character to check
 * @return true if the char is alphanumeric, false otherwise
 */
private static boolean isAlphanum(char p_char)
{
 return (isAlpha(p_char) || isDigit(p_char));
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

/**
 * Determine whether a char is an alphanumeric: 0-9, a-z or A-Z
 *
 *
 * @param p_char the character to check
 * @return true if the char is alphanumeric, false otherwise
 */
private static boolean isAlphanum(char p_char)
{
 return (isAlpha(p_char) || isDigit(p_char));
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

/**
 * Determine whether a char is an alphanumeric: 0-9, a-z or A-Z
 *
 *
 * @param p_char the character to check
 * @return true if the char is alphanumeric, false otherwise
 */
private static boolean isAlphanum(char p_char)
{
 return (isAlpha(p_char) || isDigit(p_char));
}

代码示例来源:origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
 * Determine whether a char is an alphanumeric: 0-9, a-z or A-Z
 *
 *
 * @param p_char the character to check
 * @return true if the char is alphanumeric, false otherwise
 */
private static boolean isAlphanum(char p_char)
{
 return (isAlpha(p_char) || isDigit(p_char));
}

代码示例来源:origin: com.bugvm/bugvm-rt

/**
 * Determine whether a char is an alphanumeric: 0-9, a-z or A-Z
 *
 *
 * @param p_char the character to check
 * @return true if the char is alphanumeric, false otherwise
 */
private static boolean isAlphanum(char p_char)
{
 return (isAlpha(p_char) || isDigit(p_char));
}

代码示例来源:origin: com.gluonhq/robovm-rt

/**
 * Determine whether a char is an alphanumeric: 0-9, a-z or A-Z
 *
 *
 * @param p_char the character to check
 * @return true if the char is alphanumeric, false otherwise
 */
private static boolean isAlphanum(char p_char)
{
 return (isAlpha(p_char) || isDigit(p_char));
}

相关文章