本文整理了Java中com.gargoylesoftware.htmlunit.WebWindowEvent.isEqual()
方法的一些代码示例,展示了WebWindowEvent.isEqual()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebWindowEvent.isEqual()
方法的具体详情如下:
包路径:com.gargoylesoftware.htmlunit.WebWindowEvent
类名称:WebWindowEvent
方法名:isEqual
暂无
代码示例来源:origin: org.jvnet.hudson/htmlunit
/**
* Returns true if the two objects are equal.
*
* @param object the object to compare against
* @return true if the two objects are equal
*/
@Override
public boolean equals(final Object object) {
if (getClass() == object.getClass()) {
final WebWindowEvent event = (WebWindowEvent) object;
return isEqual(getSource(), event.getSource())
&& getEventType() == event.getEventType()
&& isEqual(getOldPage(), event.getOldPage())
&& isEqual(getNewPage(), event.getNewPage());
}
return false;
}
代码示例来源:origin: org.jenkins-ci/htmlunit
/**
* Returns true if the two objects are equal.
*
* @param object the object to compare against
* @return true if the two objects are equal
*/
@Override
public boolean equals(final Object object) {
if (getClass() == object.getClass()) {
final WebWindowEvent event = (WebWindowEvent) object;
return isEqual(getSource(), event.getSource())
&& getEventType() == event.getEventType()
&& isEqual(getOldPage(), event.getOldPage())
&& isEqual(getNewPage(), event.getNewPage());
}
return false;
}
代码示例来源:origin: net.disy.htmlunit/htmlunit
/**
* Returns true if the two objects are equal.
*
* @param object the object to compare against
* @return true if the two objects are equal
*/
@Override
public boolean equals(final Object object) {
if (getClass() == object.getClass()) {
final WebWindowEvent event = (WebWindowEvent) object;
return isEqual(getSource(), event.getSource())
&& getEventType() == event.getEventType()
&& isEqual(getOldPage(), event.getOldPage())
&& isEqual(getNewPage(), event.getNewPage());
}
return false;
}
代码示例来源:origin: net.sourceforge.htmlunit/htmlunit
/**
* Returns true if the two objects are equal.
*
* @param object the object to compare against
* @return true if the two objects are equal
*/
@Override
public boolean equals(final Object object) {
if (null == object) {
return false;
}
if (getClass() == object.getClass()) {
final WebWindowEvent event = (WebWindowEvent) object;
return isEqual(getSource(), event.getSource())
&& getEventType() == event.getEventType()
&& isEqual(getOldPage(), event.getOldPage())
&& isEqual(getNewPage(), event.getNewPage());
}
return false;
}
代码示例来源:origin: HtmlUnit/htmlunit
/**
* Returns true if the two objects are equal.
*
* @param object the object to compare against
* @return true if the two objects are equal
*/
@Override
public boolean equals(final Object object) {
if (null == object) {
return false;
}
if (getClass() == object.getClass()) {
final WebWindowEvent event = (WebWindowEvent) object;
return isEqual(getSource(), event.getSource())
&& getEventType() == event.getEventType()
&& isEqual(getOldPage(), event.getOldPage())
&& isEqual(getNewPage(), event.getNewPage());
}
return false;
}
内容来源于网络,如有侵权,请联系作者删除!