本文整理了Java中org.apache.xpath.objects.XObject.notEquals()
方法的一些代码示例,展示了XObject.notEquals()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XObject.notEquals()
方法的具体详情如下:
包路径:org.apache.xpath.objects.XObject
类名称:XObject
方法名:notEquals
[英]Tell if two objects are functionally not equal.
[中]判断两个物体在功能上是否不相等。
代码示例来源:origin: robovm/robovm
/**
* Apply the operation to two operands, and return the result.
*
*
* @param left non-null reference to the evaluated left operand.
* @param right non-null reference to the evaluated right operand.
*
* @return non-null reference to the XObject that represents the result of the operation.
*
* @throws javax.xml.transform.TransformerException
*/
public XObject operate(XObject left, XObject right)
throws javax.xml.transform.TransformerException
{
return (left.notEquals(right)) ? XBoolean.S_TRUE : XBoolean.S_FALSE;
}
}
代码示例来源:origin: xalan/xalan
/**
* Apply the operation to two operands, and return the result.
*
*
* @param left non-null reference to the evaluated left operand.
* @param right non-null reference to the evaluated right operand.
*
* @return non-null reference to the XObject that represents the result of the operation.
*
* @throws javax.xml.transform.TransformerException
*/
public XObject operate(XObject left, XObject right)
throws javax.xml.transform.TransformerException
{
return (left.notEquals(right)) ? XBoolean.S_TRUE : XBoolean.S_FALSE;
}
}
代码示例来源:origin: robovm/robovm
/**
* Tell if two objects are functionally not equal.
*
* @param obj2 Object to compare this to
*
* @return True if this object is not equal to the given object
*
* @throws javax.xml.transform.TransformerException
*/
public boolean notEquals(XObject obj2)
throws javax.xml.transform.TransformerException
{
// In order to handle the 'all' semantics of
// nodeset comparisons, we always call the
// nodeset function.
if (obj2.getType() == XObject.CLASS_NODESET)
return obj2.notEquals(this);
return !equals(obj2);
}
代码示例来源:origin: xalan/xalan
/**
* Tell if two objects are functionally not equal.
*
* @param obj2 Object to compare this to
*
* @return True if this object is not equal to the given object
*
* @throws javax.xml.transform.TransformerException
*/
public boolean notEquals(XObject obj2)
throws javax.xml.transform.TransformerException
{
// In order to handle the 'all' semantics of
// nodeset comparisons, we always call the
// nodeset function.
if (obj2.getType() == XObject.CLASS_NODESET)
return obj2.notEquals(this);
return !equals(obj2);
}
代码示例来源:origin: org.apache.xalan/com.springsource.org.apache.xalan
/**
* Apply the operation to two operands, and return the result.
*
*
* @param left non-null reference to the evaluated left operand.
* @param right non-null reference to the evaluated right operand.
*
* @return non-null reference to the XObject that represents the result of the operation.
*
* @throws javax.xml.transform.TransformerException
*/
public XObject operate(XObject left, XObject right)
throws javax.xml.transform.TransformerException
{
return (left.notEquals(right)) ? XBoolean.S_TRUE : XBoolean.S_FALSE;
}
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan
/**
* Apply the operation to two operands, and return the result.
*
*
* @param left non-null reference to the evaluated left operand.
* @param right non-null reference to the evaluated right operand.
*
* @return non-null reference to the XObject that represents the result of the operation.
*
* @throws javax.xml.transform.TransformerException
*/
public XObject operate(XObject left, XObject right)
throws javax.xml.transform.TransformerException
{
return (left.notEquals(right)) ? XBoolean.S_TRUE : XBoolean.S_FALSE;
}
}
代码示例来源:origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1
/**
* Apply the operation to two operands, and return the result.
*
*
* @param left non-null reference to the evaluated left operand.
* @param right non-null reference to the evaluated right operand.
*
* @return non-null reference to the XObject that represents the result of the operation.
*
* @throws javax.xml.transform.TransformerException
*/
public XObject operate(XObject left, XObject right)
throws javax.xml.transform.TransformerException
{
return (left.notEquals(right)) ? XBoolean.S_TRUE : XBoolean.S_FALSE;
}
}
代码示例来源:origin: FlexoVM/flexovm
/**
* Apply the operation to two operands, and return the result.
*
*
* @param left non-null reference to the evaluated left operand.
* @param right non-null reference to the evaluated right operand.
*
* @return non-null reference to the XObject that represents the result of the operation.
*
* @throws javax.xml.transform.TransformerException
*/
public XObject operate(XObject left, XObject right)
throws javax.xml.transform.TransformerException
{
return (left.notEquals(right)) ? XBoolean.S_TRUE : XBoolean.S_FALSE;
}
}
代码示例来源:origin: MobiVM/robovm
/**
* Apply the operation to two operands, and return the result.
*
*
* @param left non-null reference to the evaluated left operand.
* @param right non-null reference to the evaluated right operand.
*
* @return non-null reference to the XObject that represents the result of the operation.
*
* @throws javax.xml.transform.TransformerException
*/
public XObject operate(XObject left, XObject right)
throws javax.xml.transform.TransformerException
{
return (left.notEquals(right)) ? XBoolean.S_TRUE : XBoolean.S_FALSE;
}
}
代码示例来源:origin: ibinti/bugvm
/**
* Apply the operation to two operands, and return the result.
*
*
* @param left non-null reference to the evaluated left operand.
* @param right non-null reference to the evaluated right operand.
*
* @return non-null reference to the XObject that represents the result of the operation.
*
* @throws javax.xml.transform.TransformerException
*/
public XObject operate(XObject left, XObject right)
throws javax.xml.transform.TransformerException
{
return (left.notEquals(right)) ? XBoolean.S_TRUE : XBoolean.S_FALSE;
}
}
代码示例来源:origin: com.mobidevelop.robovm/robovm-rt
/**
* Apply the operation to two operands, and return the result.
*
*
* @param left non-null reference to the evaluated left operand.
* @param right non-null reference to the evaluated right operand.
*
* @return non-null reference to the XObject that represents the result of the operation.
*
* @throws javax.xml.transform.TransformerException
*/
public XObject operate(XObject left, XObject right)
throws javax.xml.transform.TransformerException
{
return (left.notEquals(right)) ? XBoolean.S_TRUE : XBoolean.S_FALSE;
}
}
代码示例来源:origin: com.bugvm/bugvm-rt
/**
* Apply the operation to two operands, and return the result.
*
*
* @param left non-null reference to the evaluated left operand.
* @param right non-null reference to the evaluated right operand.
*
* @return non-null reference to the XObject that represents the result of the operation.
*
* @throws javax.xml.transform.TransformerException
*/
public XObject operate(XObject left, XObject right)
throws javax.xml.transform.TransformerException
{
return (left.notEquals(right)) ? XBoolean.S_TRUE : XBoolean.S_FALSE;
}
}
代码示例来源:origin: com.gluonhq/robovm-rt
/**
* Apply the operation to two operands, and return the result.
*
*
* @param left non-null reference to the evaluated left operand.
* @param right non-null reference to the evaluated right operand.
*
* @return non-null reference to the XObject that represents the result of the operation.
*
* @throws javax.xml.transform.TransformerException
*/
public XObject operate(XObject left, XObject right)
throws javax.xml.transform.TransformerException
{
return (left.notEquals(right)) ? XBoolean.S_TRUE : XBoolean.S_FALSE;
}
}
代码示例来源:origin: com.bugvm/bugvm-rt
/**
* Tell if two objects are functionally not equal.
*
* @param obj2 Object to compare this to
*
* @return True if this object is not equal to the given object
*
* @throws javax.xml.transform.TransformerException
*/
public boolean notEquals(XObject obj2)
throws javax.xml.transform.TransformerException
{
// In order to handle the 'all' semantics of
// nodeset comparisons, we always call the
// nodeset function.
if (obj2.getType() == XObject.CLASS_NODESET)
return obj2.notEquals(this);
return !equals(obj2);
}
代码示例来源:origin: MobiVM/robovm
/**
* Tell if two objects are functionally not equal.
*
* @param obj2 Object to compare this to
*
* @return True if this object is not equal to the given object
*
* @throws javax.xml.transform.TransformerException
*/
public boolean notEquals(XObject obj2)
throws javax.xml.transform.TransformerException
{
// In order to handle the 'all' semantics of
// nodeset comparisons, we always call the
// nodeset function.
if (obj2.getType() == XObject.CLASS_NODESET)
return obj2.notEquals(this);
return !equals(obj2);
}
代码示例来源:origin: ibinti/bugvm
/**
* Tell if two objects are functionally not equal.
*
* @param obj2 Object to compare this to
*
* @return True if this object is not equal to the given object
*
* @throws javax.xml.transform.TransformerException
*/
public boolean notEquals(XObject obj2)
throws javax.xml.transform.TransformerException
{
// In order to handle the 'all' semantics of
// nodeset comparisons, we always call the
// nodeset function.
if (obj2.getType() == XObject.CLASS_NODESET)
return obj2.notEquals(this);
return !equals(obj2);
}
代码示例来源:origin: com.mobidevelop.robovm/robovm-rt
/**
* Tell if two objects are functionally not equal.
*
* @param obj2 Object to compare this to
*
* @return True if this object is not equal to the given object
*
* @throws javax.xml.transform.TransformerException
*/
public boolean notEquals(XObject obj2)
throws javax.xml.transform.TransformerException
{
// In order to handle the 'all' semantics of
// nodeset comparisons, we always call the
// nodeset function.
if (obj2.getType() == XObject.CLASS_NODESET)
return obj2.notEquals(this);
return !equals(obj2);
}
代码示例来源:origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1
/**
* Tell if two objects are functionally not equal.
*
* @param obj2 Object to compare this to
*
* @return True if this object is not equal to the given object
*
* @throws javax.xml.transform.TransformerException
*/
public boolean notEquals(XObject obj2)
throws javax.xml.transform.TransformerException
{
// In order to handle the 'all' semantics of
// nodeset comparisons, we always call the
// nodeset function.
if (obj2.getType() == XObject.CLASS_NODESET)
return obj2.notEquals(this);
return !equals(obj2);
}
代码示例来源:origin: org.apache.xalan/com.springsource.org.apache.xalan
/**
* Tell if two objects are functionally not equal.
*
* @param obj2 Object to compare this to
*
* @return True if this object is not equal to the given object
*
* @throws javax.xml.transform.TransformerException
*/
public boolean notEquals(XObject obj2)
throws javax.xml.transform.TransformerException
{
// In order to handle the 'all' semantics of
// nodeset comparisons, we always call the
// nodeset function.
if (obj2.getType() == XObject.CLASS_NODESET)
return obj2.notEquals(this);
return !equals(obj2);
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan
/**
* Tell if two objects are functionally not equal.
*
* @param obj2 Object to compare this to
*
* @return True if this object is not equal to the given object
*
* @throws javax.xml.transform.TransformerException
*/
public boolean notEquals(XObject obj2)
throws javax.xml.transform.TransformerException
{
// In order to handle the 'all' semantics of
// nodeset comparisons, we always call the
// nodeset function.
if (obj2.getType() == XObject.CLASS_NODESET)
return obj2.notEquals(this);
return !equals(obj2);
}
内容来源于网络,如有侵权,请联系作者删除!