inet-addr
inet-addr
Exports
Constructors
constructor
Properties
end
start
Methods
adjacentTo
capacity
containsAddr
containsRange
equals
getEnd
getStart
mergableWith
merge
overlaps
subtract
toString
withEnd
withStart
parse
parseCIDR
Class
IPRange
Copy item path
Constructors
§
source
§
constructor
source
§
new
IPRange
<
T
extends
IPAddr
<
T
>
>
(
start
:
T
,
end
:
T
)
:
IPRange
<
T
>
Properties
§
source
§
end
source
§
end:
T
source
§
start
source
§
start:
T
Methods
§
source
§
adjacentTo
source
§
adjacentTo
(
other
:
IPRange
<
T
>
)
:
boolean
source
§
capacity
source
§
capacity
()
:
BigInteger
source
§
containsAddr
source
§
containsAddr
(
addr
:
T
)
:
boolean
source
§
containsRange
source
§
containsRange
(
other
:
IPRange
<
T
>
)
:
boolean
source
§
equals
source
§
equals
(
other
:
IPRange
<
T
>
)
:
boolean
source
§
getEnd
source
§
getEnd
()
:
T
source
§
getStart
source
§
getStart
()
:
T
source
§
mergableWith
source
§
mergableWith
(
other
:
IPRange
<
T
>
)
:
boolean
source
§
merge
source
§
merge
(
other
:
IPRange
<
T
>
)
:
IPRange
<
T
>
source
§
overlaps
source
§
overlaps
(
other
:
IPRange
<
T
>
)
:
boolean
source
§
subtract
source
§
subtract
(
other
:
IPRange
<
T
>
)
:
IPRange
<
T
>
[]
source
§
toString
source
§
toString
(
sep
?:
string
)
:
string
source
§
withEnd
source
§
withEnd
(
end
:
T
)
:
IPRange
<
T
>
source
§
withStart
source
§
withStart
(
start
:
T
)
:
IPRange
<
T
>
source
§
parse
source
§
parse
(
s
:
string
,
sep
?:
string
|
RegExp
)
:
IPRange
<
IPv4Addr
|
IPv6Addr
>
source
§
parseCIDR
source
§
parseCIDR
(
s
:
string
)
:
IPRange
<
IPv4Addr
|
IPv6Addr
>