|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.limegroup.gnutella.filters.IPList
A mutable list of IP addresses. More specifically, a list of sets of addresses, like "18.239.0.*". Provides fast operations to find if an address is in the list. Used to implement IPFilter. Not synchronized.
| Constructor Summary | |
IPList()
|
|
| Method Summary | |
void |
add(java.lang.String ip_str)
Adds a certain IP to the IPList. |
boolean |
contains(IP ip)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IPList()
| Method Detail |
public void add(java.lang.String ip_str)
ip_str - a String containing the IP, see IP.java for formattingpublic boolean contains(IP ip)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||