netP5
Class NetAddressList
java.lang.Object
netP5.NetAddressList
public class NetAddressList
- extends Object
NetAddressList is an arraylist of netaddresses.
- Author:
- andreas schlegel
NetAddressList
public NetAddressList()
add
public void add(NetAddress theNetAddress)
- Parameters:
theNetAddress
- NetAddress
add
public void add(String theAddress,
int thePort)
- Parameters:
theAddress
- StringthePort
- int
remove
public void remove(String theAddress,
int thePort)
- Parameters:
theAddress
- StringthePort
- int
remove
public void remove(NetAddress theNetAddress)
- Parameters:
theNetAddress
- NetAddress
get
public NetAddress get(String theIPaddress,
int thePort)
contains
public boolean contains(NetAddress theNetAddress)
- Parameters:
theNetAddress
- NetAddress
- Returns:
- boolean
contains
public boolean contains(String theIPaddress,
int thePort)
- Parameters:
theIPaddress
- StringthePort
- int
- Returns:
- boolean
size
public int size()
set
public void set(NetAddress[] theList)
- Parameters:
theList
- NetAddress[]
list
public ArrayList list()
- Returns:
- ArrayList
get
public NetAddress get(int theIndex)
- Parameters:
theIndex
- int
- Returns:
- NetAddress
processing library oscP5 by Andreas Schlegel. (c) 2004-2012