Modifier and Type | Field and Description |
---|---|
Object |
address |
int |
family |
boolean |
negative |
int |
prefixLength |
Constructor and Description |
---|
Element(boolean negative,
InetAddress address,
int prefixLength)
Creates an APL element corresponding to an IPv4 or IPv6 prefix.
|
public final int family
public final boolean negative
public final int prefixLength
public final Object address
public Element(boolean negative, InetAddress address, int prefixLength)
negative
- Indicates if this prefix is a negation.address
- The IPv4 or IPv6 address.prefixLength
- The length of this prefix, in bits.IllegalArgumentException
- The prefix length is invalid.Copyright © 2022 dnsjava.org. All rights reserved.