| 程序包 | 说明 |
|---|---|
| com.jn.langx.util.net.cidr |
| 限定符和类型 | 字段和说明 |
|---|---|
static CidrAddress |
CidrAddress.INET4_ANY_CIDR
The CIDR address representing all IPv4 addresses.
|
static CidrAddress |
CidrAddress.INET6_ANY_CIDR
The CIDR address representing all IPv6 addresses.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static CidrAddress |
CidrAddress.create(byte[] addressBytes,
int netmaskBits)
Create a new CIDR address.
|
static CidrAddress |
CidrAddress.create(InetAddress networkAddress,
int netmaskBits)
Create a new CIDR address.
|
CidrAddress |
CidrAddressTable.Mapping.getRange()
Get the address range of this entry.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
CidrAddress.compareTo(CidrAddress other) |
boolean |
CidrAddress.equals(CidrAddress obj) |
boolean |
CidrAddress.matches(CidrAddress address)
Determine if this CIDR address matches the given CIDR address.
|
T |
CidrAddressTable.put(CidrAddress block,
T value) |
T |
CidrAddressTable.putIfAbsent(CidrAddress block,
T value) |
T |
CidrAddressTable.removeExact(CidrAddress block) |
boolean |
CidrAddressTable.removeExact(CidrAddress block,
T expect) |
T |
CidrAddressTable.replaceExact(CidrAddress block,
T value) |
boolean |
CidrAddressTable.replaceExact(CidrAddress block,
T expect,
T update) |
Copyright © 2021. All rights reserved.