org.freedesktop.dbus
public class DBusConnection.PeerSet extends Object implements Set<String>, DBusSigHandler<DBus.NameOwnerChanged>
Constructor and Description |
---|
DBusConnection.PeerSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(String address) |
boolean |
addAll(Collection<? extends String> addresses) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> os) |
boolean |
equals(Object o) |
void |
handle(DBus.NameOwnerChanged noc)
Handle a signal.
|
int |
hashCode() |
boolean |
isEmpty() |
Iterator<String> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> os) |
boolean |
retainAll(Collection<?> os) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
public void handle(DBus.NameOwnerChanged noc)
DBusSigHandler
handle
in interface DBusSigHandler<DBus.NameOwnerChanged>
noc
- The signal to handle. If such a class exists, the
signal will be an instance of the class with the correct type signature.
Otherwise it will be an instance of DBusSignalpublic boolean add(String address)
public boolean addAll(Collection<? extends String> addresses)
public void clear()
public boolean contains(Object o)
public boolean containsAll(Collection<?> os)
containsAll
in interface Collection<String>
containsAll
in interface Set<String>
public boolean equals(Object o)
public int hashCode()
public boolean isEmpty()
public boolean remove(Object o)
public boolean removeAll(Collection<?> os)
public boolean retainAll(Collection<?> os)
public int size()
public Object[] toArray()