本文整理了Java中com.thomsonreuters.ema.access.Key.rmtes()
方法的一些代码示例,展示了Key.rmtes()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Key.rmtes()
方法的具体详情如下:
包路径:com.thomsonreuters.ema.access.Key
类名称:Key
方法名:rmtes
[英]Returns the current OMM data represented as a specific simple type.
[中]返回表示为特定简单类型的当前OMM数据。
代码示例来源:origin: Refinitiv/Elektron-SDK
break;
case DataTypes.RMTES :
System.out.println(mapEntry.key().rmtes() + "\t" + mapEntry.mapActionAsString());
break;
default:
代码示例来源:origin: Refinitiv/Elektron-SDK
TestUtilities.checkResult( mapEntryA.key().rmtes().asHex().equals(rmtesKey1) , "Check the key value of the first map entry");
TestUtilities.checkResult( mapEntryA.action() == MapEntry.MapAction.ADD, "Check the action of the first map entry");
TestUtilities.checkResult( mapEntryA.loadType() == DataTypes.NO_DATA, "Check the load type of the first map entry");
TestUtilities.checkResult( mapEntryA.hasPermissionData() == false, "Check wheter the first map entry has permission data");
MapEntry mapEntryB = mapIt.next();
TestUtilities.checkResult( mapEntryB.key().rmtes().asHex().equals(rmtesKey2) , "Check the key value of the second map entry");
TestUtilities.checkResult( mapEntryB.action() == MapEntry.MapAction.UPDATE, "Check the action of the second map entry");
TestUtilities.checkResult( mapEntryB.loadType() == DataTypes.NO_DATA, "Check the load type of the second map entry");
TestUtilities.checkResult( mapEntryB.permissionData().equals(permissionData) == true, "Compare the permission data of the second map entry");
MapEntry mapEntryC = mapIt.next();
TestUtilities.checkResult( mapEntryC.key().rmtes().asHex().equals(rmtesKey3) , "Check the key value of the third map entry");
TestUtilities.checkResult( mapEntryC.action() == MapEntry.MapAction.DELETE, "Check the action of the third map entry");
TestUtilities.checkResult( mapEntryC.loadType() == DataTypes.NO_DATA, "Check the load type of the third map entry");
内容来源于网络,如有侵权,请联系作者删除!