org.apache.xpath.objects.XStringForFSB.startsWith()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(7.8k)|赞(0)|评价(0)|浏览(96)

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

XStringForFSB.startsWith介绍

[英]Tests if this string starts with the specified prefix.
[中]测试此字符串是否以指定的前缀开头。

代码示例

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

/**
 * Tests if this string starts with the specified prefix.
 *
 * @param   prefix   the prefix.
 * @return  <code>true</code> if the character sequence represented by the
 *          argument is a prefix of the character sequence represented by
 *          this string; <code>false</code> otherwise.
 *          Note also that <code>true</code> will be returned if the
 *          argument is an empty string or is equal to this
 *          <code>String</code> object as determined by the
 *          {@link #equals(Object)} method.
 * @exception java.lang.NullPointerException if <code>prefix</code> is
 *          <code>null</code>.
 * @since   JDK1. 0
 */
public boolean startsWith(XMLString prefix)
{
 return startsWith(prefix, 0);
}

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

/**
 * Tests if this string starts with the specified prefix.
 *
 * @param   prefix   the prefix.
 * @return  <code>true</code> if the character sequence represented by the
 *          argument is a prefix of the character sequence represented by
 *          this string; <code>false</code> otherwise.
 *          Note also that <code>true</code> will be returned if the
 *          argument is an empty string or is equal to this
 *          <code>String</code> object as determined by the
 *          {@link #equals(Object)} method.
 * @exception java.lang.NullPointerException if <code>prefix</code> is
 *          <code>null</code>.
 * @since   JDK1. 0
 */
public boolean startsWith(XMLString prefix)
{
 return startsWith(prefix, 0);
}

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

/**
 * Tests if this string starts with the specified prefix.
 *
 * @param   prefix   the prefix.
 * @return  <code>true</code> if the character sequence represented by the
 *          argument is a prefix of the character sequence represented by
 *          this string; <code>false</code> otherwise.
 *          Note also that <code>true</code> will be returned if the
 *          argument is an empty string or is equal to this
 *          <code>String</code> object as determined by the
 *          {@link #equals(Object)} method.
 * @exception java.lang.NullPointerException if <code>prefix</code> is
 *          <code>null</code>.
 * @since   JDK1. 0
 */
public boolean startsWith(XMLString prefix)
{
 return startsWith(prefix, 0);
}

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

/**
 * Tests if this string starts with the specified prefix.
 *
 * @param   prefix   the prefix.
 * @return  <code>true</code> if the character sequence represented by the
 *          argument is a prefix of the character sequence represented by
 *          this string; <code>false</code> otherwise.
 *          Note also that <code>true</code> will be returned if the
 *          argument is an empty string or is equal to this
 *          <code>String</code> object as determined by the
 *          {@link #equals(Object)} method.
 * @exception java.lang.NullPointerException if <code>prefix</code> is
 *          <code>null</code>.
 * @since   JDK1. 0
 */
public boolean startsWith(XMLString prefix)
{
 return startsWith(prefix, 0);
}

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

/**
 * Tests if this string starts with the specified prefix.
 *
 * @param   prefix   the prefix.
 * @return  <code>true</code> if the character sequence represented by the
 *          argument is a prefix of the character sequence represented by
 *          this string; <code>false</code> otherwise.
 *          Note also that <code>true</code> will be returned if the
 *          argument is an empty string or is equal to this
 *          <code>String</code> object as determined by the
 *          {@link #equals(Object)} method.
 * @exception java.lang.NullPointerException if <code>prefix</code> is
 *          <code>null</code>.
 * @since   JDK1. 0
 */
public boolean startsWith(XMLString prefix)
{
 return startsWith(prefix, 0);
}

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

/**
 * Tests if this string starts with the specified prefix.
 *
 * @param   prefix   the prefix.
 * @return  <code>true</code> if the character sequence represented by the
 *          argument is a prefix of the character sequence represented by
 *          this string; <code>false</code> otherwise.
 *          Note also that <code>true</code> will be returned if the
 *          argument is an empty string or is equal to this
 *          <code>String</code> object as determined by the
 *          {@link #equals(Object)} method.
 * @exception java.lang.NullPointerException if <code>prefix</code> is
 *          <code>null</code>.
 * @since   JDK1. 0
 */
public boolean startsWith(XMLString prefix)
{
 return startsWith(prefix, 0);
}

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

/**
 * Tests if this string starts with the specified prefix.
 *
 * @param   prefix   the prefix.
 * @return  <code>true</code> if the character sequence represented by the
 *          argument is a prefix of the character sequence represented by
 *          this string; <code>false</code> otherwise.
 *          Note also that <code>true</code> will be returned if the
 *          argument is an empty string or is equal to this
 *          <code>String</code> object as determined by the
 *          {@link #equals(Object)} method.
 * @exception java.lang.NullPointerException if <code>prefix</code> is
 *          <code>null</code>.
 * @since   JDK1. 0
 */
public boolean startsWith(XMLString prefix)
{
 return startsWith(prefix, 0);
}

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

/**
 * Tests if this string starts with the specified prefix.
 *
 * @param   prefix   the prefix.
 * @return  <code>true</code> if the character sequence represented by the
 *          argument is a prefix of the character sequence represented by
 *          this string; <code>false</code> otherwise.
 *          Note also that <code>true</code> will be returned if the
 *          argument is an empty string or is equal to this
 *          <code>String</code> object as determined by the
 *          {@link #equals(Object)} method.
 * @exception java.lang.NullPointerException if <code>prefix</code> is
 *          <code>null</code>.
 * @since   JDK1. 0
 */
public boolean startsWith(XMLString prefix)
{
 return startsWith(prefix, 0);
}

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

/**
 * Tests if this string starts with the specified prefix.
 *
 * @param   prefix   the prefix.
 * @return  <code>true</code> if the character sequence represented by the
 *          argument is a prefix of the character sequence represented by
 *          this string; <code>false</code> otherwise.
 *          Note also that <code>true</code> will be returned if the
 *          argument is an empty string or is equal to this
 *          <code>String</code> object as determined by the
 *          {@link #equals(Object)} method.
 * @exception java.lang.NullPointerException if <code>prefix</code> is
 *          <code>null</code>.
 * @since   JDK1. 0
 */
public boolean startsWith(XMLString prefix)
{
 return startsWith(prefix, 0);
}

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

/**
 * Tests if this string starts with the specified prefix.
 *
 * @param   prefix   the prefix.
 * @return  <code>true</code> if the character sequence represented by the
 *          argument is a prefix of the character sequence represented by
 *          this string; <code>false</code> otherwise.
 *          Note also that <code>true</code> will be returned if the
 *          argument is an empty string or is equal to this
 *          <code>String</code> object as determined by the
 *          {@link #equals(Object)} method.
 * @exception java.lang.NullPointerException if <code>prefix</code> is
 *          <code>null</code>.
 * @since   JDK1. 0
 */
public boolean startsWith(XMLString prefix)
{
 return startsWith(prefix, 0);
}

代码示例来源:origin: FlexoVM/flexovm

/**
 * Tests if this string starts with the specified prefix.
 *
 * @param   prefix   the prefix.
 * @return  <code>true</code> if the character sequence represented by the
 *          argument is a prefix of the character sequence represented by
 *          this string; <code>false</code> otherwise.
 *          Note also that <code>true</code> will be returned if the
 *          argument is an empty string or is equal to this
 *          <code>String</code> object as determined by the
 *          {@link #equals(Object)} method.
 * @exception java.lang.NullPointerException if <code>prefix</code> is
 *          <code>null</code>.
 * @since   JDK1. 0
 */
public boolean startsWith(XMLString prefix)
{
 return startsWith(prefix, 0);
}

相关文章