本文整理了Java中javax.sip.address.Address.equals()
方法的一些代码示例,展示了Address.equals()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Address.equals()
方法的具体详情如下:
包路径:javax.sip.address.Address
类名称:Address
方法名:equals
暂无
代码示例来源:origin: org.jitsi/jain-sip-ri-ossonly
public boolean equals(Object other)
{
if(other instanceof PServedUser)
{
final PServedUserHeader psu = (PServedUserHeader)other;
return this.getAddress().equals(((PServedUser) other).getAddress());
}
return false;
}
代码示例来源:origin: org.jitsi/jain-sip-ri-ossonly
public boolean equals(Object other) {
if (this==other) return true;
if (other instanceof HeaderAddress && other instanceof Parameters) {
final HeaderAddress o = (HeaderAddress) other;
return this.getAddress().equals( o.getAddress() ) && this.equalParameters( (Parameters) o );
}
return false;
}
代码示例来源:origin: org.mobicents.servlet.sip/sip-servlets-impl
public Address getPoppedRoute() {
if((this.poppedRoute == null && poppedRouteHeader != null) ||
(poppedRoute != null && poppedRouteHeader != null && !poppedRoute.getAddress().equals(poppedRouteHeader.getAddress()))) {
this.poppedRoute = new AddressImpl(poppedRouteHeader.getAddress(), null, getTransaction() == null ? ModifiableRule.Modifiable : ModifiableRule.NotModifiable);
}
return poppedRoute;
}
代码示例来源:origin: org.jitsi/jain-sip-ri-ossonly
Route route = (Route) routeList.getFirst();
if (route != null
&& rr.getAddress().equals(
route.getAddress())) {
routeList.removeFirst();
内容来源于网络,如有侵权,请联系作者删除!