|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ca.swank.fastreversedns.IPEnumeration
A range of IP addresses that can be enumerated in sequence
Constructor Summary | |
IPEnumeration(java.lang.String firstIp,
java.lang.String lastIp)
Creates a new IPEnumeration starting with the firstIP and ending with the lastIP (inclusive). |
Method Summary | |
boolean |
hasMoreElements()
returns true if the current address is less than the last address |
java.lang.Object |
nextElement()
returns the current address as a String or null and increments the address counter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IPEnumeration(java.lang.String firstIp, java.lang.String lastIp)
Method Detail |
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
public java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |