| Package | Description |
|---|---|
| org.lionsoul.ip2region |
| Modifier and Type | Method and Description |
|---|---|
DataBlock |
DbSearcher.binarySearch(long ip)
get the region with a int ip address with binary search algorithm
|
DataBlock |
DbSearcher.binarySearch(String ip)
get the region throught the ip address with binary search algorithm
|
DataBlock |
DbSearcher.btreeSearch(long ip)
get the region with a int ip address with b-tree algorithm
|
DataBlock |
DbSearcher.btreeSearch(String ip)
get the region throught the ip address with b-tree search algorithm
|
DataBlock |
DbSearcher.getByIndexPtr(long ptr)
get by index ptr
|
DataBlock |
DbSearcher.memorySearch(long ip)
get the region with a int ip address with memory binary search algorithm
|
DataBlock |
DbSearcher.memorySearch(String ip)
get the region throught the ip address with memory binary search algorithm
|
DataBlock |
DataBlock.setCityId(int city_id) |
DataBlock |
DataBlock.setDataPtr(int dataPtr) |
DataBlock |
DataBlock.setRegion(String region) |
Copyright © 2018. All rights reserved.