com.thomsonreuters.upa.codec.Qos.equals()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(2.9k)|赞(0)|评价(0)|浏览(121)

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

Qos.equals介绍

[英]Checks if the two Qos values are equal.
[中]检查两个Qos值是否相等。

代码示例

代码示例来源:origin: Refinitiv/Elektron-SDK

if (bestQos.equals(worstQos))
  return bestQos.equals(this);

代码示例来源:origin: Refinitiv/Elektron-SDK

qos.equals(thatKey.qos());

代码示例来源:origin: Refinitiv/Elektron-SDK

assertTrue(qos1.equals(qos2));
qos1.rate(QosRates.TICK_BY_TICK);
assertFalse(qos1.equals(qos2));
qos1.clear();
assertTrue(qos1.equals(qos2));
qos1.rate(QosRates.JIT_CONFLATED);
assertFalse(qos1.equals(qos2));
qos1.clear();
assertTrue(qos1.equals(qos2));
qos1.rate(QosRates.TIME_CONFLATED);
assertFalse(qos1.equals(qos2));
qos1.clear();
assertTrue(qos1.equals(qos2));
qos1.timeliness(QosTimeliness.REALTIME);
assertFalse(qos1.equals(qos2));
qos1.clear();
assertTrue(qos1.equals(qos2));
qos1.timeliness(QosTimeliness.DELAYED_UNKNOWN);
assertFalse(qos1.equals(qos2));
qos1.clear();
assertTrue(qos1.equals(qos2));
qos1.timeliness(QosTimeliness.DELAYED);
assertFalse(qos1.equals(qos2));
qos1.clear();
assertTrue(qos1.equals(qos2));
qos1.rateInfo(1000);
assertFalse(qos1.equals(qos2));
qos1.clear();
assertTrue(qos1.equals(qos2));

代码示例来源:origin: Refinitiv/Elektron-SDK

if (serviceQos.equals(qos))
ret = _defaultQos.equals(qos);

代码示例来源:origin: Refinitiv/Elektron-SDK

if ( qosList.get(index).equals(requestMsg.qos()) )
qos.timeliness(QosTimeliness.REALTIME);
if ( qos.equals(requestMsg.qos()) )
 if ( qosList.get(index).equals(qos) )

代码示例来源:origin: Refinitiv/Elektron-SDK

if (!((RequestMsg)msg).qos().equals(_providerQos))

代码示例来源:origin: Refinitiv/Elektron-SDK

if (!((RequestMsg)msg).qos().equals(_providerQos))

代码示例来源:origin: Refinitiv/Elektron-SDK

if (!dirQos.equals(((RequestMsg)msg).qos()))

代码示例来源:origin: Refinitiv/Elektron-SDK

if (!((RequestMsg)msg).qos().equals(providerQos))

代码示例来源:origin: Refinitiv/Elektron-SDK

assertEquals(rqCopyMsg.priority().priorityClass(), msg.priority().priorityClass());
assertEquals(rqCopyMsg.priority().count(), msg.priority().count());
assertEquals(true, rqCopyMsg.qos().equals(msg.qos()));
assertEquals(true, rqCopyMsg.extendedHeader().equals(msg.extendedHeader()));
assertEquals(true, rqCopyMsg.msgKey().name().equals(msg.msgKey().name()));
assertEquals(rqCopyMsg.priority().priorityClass(), msg.priority().priorityClass());
assertEquals(rqCopyMsg.priority().count(), msg.priority().count());
assertEquals(true, rqCopyMsg.qos().equals(msg.qos()));
assertEquals(false, rqCopyMsg.msgKey().checkHasName());
assertEquals(false, rqCopyMsg.msgKey().checkHasAttrib());
assertEquals(rqCopyMsg.priority().priorityClass(), msg.priority().priorityClass());
assertEquals(rqCopyMsg.priority().count(), msg.priority().count());
assertEquals(true, rqCopyMsg.qos().equals(msg.qos()));
assertEquals(false, rqCopyMsg.msgKey().checkHasName());
assertEquals(true, rqCopyMsg.msgKey().encodedAttrib().equals(msg.msgKey().encodedAttrib()));

相关文章