public interface PortRange
PortRestriction with a custom port range implementation| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(PortRange other)
Gets whether the port range contains another port range i.e.
|
int |
getMaximumPort()
Gets the maximum port
|
int |
getMinimumPort()
Gets the minimum port
|
boolean |
inRange(int port)
Gets whether a port falls within the range
|
int getMinimumPort()
int getMaximumPort()
boolean inRange(int port)
port - Portboolean contains(PortRange other)
other - Other port typeCopyright © 2012–2022. All rights reserved.