XExpectations.java 文件源码

java
阅读 17 收藏 0 点赞 0 评论 0

项目:unitimes 作者:
@Override
public void writeExternal(ObjectOutput out) throws IOException {
    out.writeLong(iOfferingId);
    out.writeInt(iExpectations == null ? 0 : iExpectations.size());
    if (iExpectations != null) {
        for (Map.Entry<Long, Double> entry: iExpectations.entrySet()) {
            out.writeLong(entry.getKey());
            out.writeDouble(entry.getValue());
        }
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号