Code example for InetAddress

Methods: getAddress

0
	 * 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();
	} 
 
	@Override 
	public Iterator<InetAddress> iterator() {
		IpRangeIterator iterator = new IpRangeIterator(this.start, this.end);
		return iterator;
	} 
 
}