public class PeerSet extends Object implements Set<String>, DBusSigHandler<DBus.NameOwnerChanged>
| Constructor and Description |
|---|
PeerSet(DBusConnection _connection) |
| 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) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitspliteratorparallelStream, removeIf, streampublic PeerSet(DBusConnection _connection)
public void handle(DBus.NameOwnerChanged noc)
DBusSigHandlerhandle 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()
Copyright © 2020. All rights reserved.