Code example for InetAddress

Methods: getAddress

	 * Constructor. Creates a new IP Range Iterator 
	 * @param start IP Address to start at 
	 * @param end IP Address to stop at 
	public IpRange(InetAddress start, InetAddress end) {
		this.start = start.getAddress();
		this.end = end.getAddress();
	public Iterator<InetAddress> iterator() {
		IpRangeIterator iterator = new IpRangeIterator(this.start, this.end);
		return iterator;
Experience pair programming with AI  Get Codota for Java