CellIdPre17API.java 文件源码

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

项目:tabulae 作者:
@Override
public TheDictionary next() {
    if (DEBUG) Log.d(TAG, "next:");
    TheDictionary map = new TheDictionary();
    try {
        if (i < 0) {
            if (cellLocation instanceof GsmCellLocation) {
                fill(map, ((GsmCellLocation) cellLocation));
            } else if (cellLocation instanceof CdmaCellLocation) {
                fill(map, ((CdmaCellLocation) cellLocation));
            } else {
                map.put("class", cellLocation.getClass().getName());
                map.put("string", cellLocation.toString());
            }
        } else {
            fill(map, neighboringCellInfoList.get(i));
        }
    }
    catch (Exception e) {
        throw new RuntimeException(e);
    }
    i++;
    if (DEBUG) Log.d(TAG, "next: map=" + map);
    return map;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号