|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.tfe.core.HotIPList
| Constructor Summary | |
HotIPList()
Creates new HotIPList |
|
| Method Summary | |
void |
add(HotIP ip)
Adds a HotIP to the list. |
void |
addObserver(HotIPListObserver anObserver)
|
boolean |
contains(HotIP ip)
Whether or not the list contains a specified HotIP. |
boolean |
contains(java.lang.String ipAddress)
Whether or not the list contains a HotIP that has a source address that matches the specified String. |
void |
deleteObserver(HotIPListObserver anObserver)
|
HotIP |
get(int index)
Retrieves a HotIP from the list. |
void |
hotIPUpdated(HotIP ip)
Notifies observers that a hotIP was updated. |
void |
remove(HotIP ip)
Removes the specified HotIP |
void |
remove(int index)
Removes the HotIP at the specified index. |
int |
size()
Get the size of the Hot IP List |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HotIPList()
| Method Detail |
public void add(HotIP ip)
HotIP to the list.
This function adds a new HotIP to the list.
public HotIP get(int index)
HotIP from the list.
This function retrieves the HotIP at the specified index.
index - the index of the HotIP to be retrieved.
HotIP at the specified index.public void remove(HotIP ip)
HotIP
ip - the HotIP to be removed from the list.public void remove(int index)
HotIP at the specified index.
index - the index of the HotIP to be removed.public void hotIPUpdated(HotIP ip)
ip - the HotIP that was edited.public boolean contains(HotIP ip)
HotIP.
HotIP, false if not.public boolean contains(java.lang.String ipAddress)
HotIP that has a source address that matches the specified String.
ipAddress - a String representation of the address for which to look.
public int size()
public void addObserver(HotIPListObserver anObserver)
public void deleteObserver(HotIPListObserver anObserver)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||