WirelessLoggerService.java 文件源码

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

项目:openbmap 作者:
/**
 * A valid gsm cell must have cell id != -1
 * Note: cells with cid > max value 0xffff are accepted (typically UMTS cells. We handle them separately
 * @param gsmLocation {@link GsmCellLocation}
 * @return true if valid gsm cell
 */
private boolean isValidGsmCell(final GsmCellLocation gsmLocation) {
    if (gsmLocation == null) {
        return false;
    }
    final Integer cid = gsmLocation.getCid();
    return (cid > 0 && cid != Integer.MAX_VALUE);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号