/** * Constructs an {@link AvailablePortIterator} * <p> * Defaults to using the wildcard address and a starting port. * * @param portRangeStart the port at which to start scanning (inclusive) */ public AvailablePortIterator(int portRangeStart) { this(portRangeStart, MAXIMUM_PORT, NetworkHelper.getWildcardAddress()); }
/** * Constructs an {@link AvailablePortIterator}. * <p> * Defaults to using the wildcard address and full port range. */ public AvailablePortIterator() { this(MINIMUM_PORT, MAXIMUM_PORT, NetworkHelper.getWildcardAddress()); }
/** * Constructs an {@link AvailablePortIterator} * <p> * Defaults to using the wildcard address and a starting port. * * @param portRangeStart the port at which to start scanning (inclusive) */ public AvailablePortIterator(int portRangeStart) { this(portRangeStart, MAXIMUM_PORT, NetworkHelper.getWildcardAddress()); }
/** * Constructs an {@link AvailablePortIterator}. * <p> * Defaults to using the wildcard address with the specified port range. * * @param portRangeStart the port at which to start scanning (inclusive) * @param portRangeEnd the port at which to destroy scanning (inclusive) */ public AvailablePortIterator(int portRangeStart, int portRangeEnd) { this(portRangeStart, portRangeEnd, NetworkHelper.getWildcardAddress()); }
/** * Constructs an {@link AvailablePortIterator}. * <p> * Defaults to using the wildcard address and full port range. */ public AvailablePortIterator() { this(MINIMUM_PORT, MAXIMUM_PORT, NetworkHelper.getWildcardAddress()); }
/** * Constructs an {@link AvailablePortIterator}. * <p> * Defaults to using the wildcard address with the specified port range. * * @param portRangeStart the port at which to start scanning (inclusive) * @param portRangeEnd the port at which to destroy scanning (inclusive) */ public AvailablePortIterator(int portRangeStart, int portRangeEnd) { this(portRangeStart, portRangeEnd, NetworkHelper.getWildcardAddress()); }